Delete VideoRendererInterface.
Use in chromium was deleted a few days ago. BUG=webrtc:5426 R=magjed@webrtc.org, pbos@webrtc.org, perkj@webrtc.org, pthatcher@webrtc.org, tkchin@webrtc.org Review URL: https://codereview.webrtc.org/1817473002 . Cr-Commit-Position: refs/heads/master@{#12099}
This commit is contained in:
@ -102,7 +102,7 @@ class MainWnd : public MainWindow {
|
||||
|
||||
HWND handle() const { return wnd_; }
|
||||
|
||||
class VideoRenderer : public webrtc::VideoRendererInterface {
|
||||
class VideoRenderer : public rtc::VideoSinkInterface<cricket::VideoFrame> {
|
||||
public:
|
||||
VideoRenderer(HWND wnd, int width, int height,
|
||||
webrtc::VideoTrackInterface* track_to_render);
|
||||
@ -116,14 +116,15 @@ class MainWnd : public MainWindow {
|
||||
::LeaveCriticalSection(&buffer_lock_);
|
||||
}
|
||||
|
||||
// VideoRendererInterface implementation
|
||||
virtual void SetSize(int width, int height);
|
||||
virtual void RenderFrame(const cricket::VideoFrame* frame);
|
||||
// VideoSinkInterface implementation
|
||||
void OnFrame(const cricket::VideoFrame& frame) override;
|
||||
|
||||
const BITMAPINFO& bmi() const { return bmi_; }
|
||||
const uint8_t* image() const { return image_.get(); }
|
||||
|
||||
protected:
|
||||
void SetSize(int width, int height);
|
||||
|
||||
enum {
|
||||
SET_SIZE,
|
||||
RENDER_FRAME,
|
||||
|
||||
Reference in New Issue
Block a user