| Index: webrtc/examples/peerconnection/client/linux/main_wnd.h
|
| diff --git a/webrtc/examples/peerconnection/client/linux/main_wnd.h b/webrtc/examples/peerconnection/client/linux/main_wnd.h
|
| index e35d4dd8fa9b1ba54dfb3be9b7ce169a684f608f..a7eb25e9b1ea7ffa18ba1aaf6e1d6b308087e64a 100644
|
| --- a/webrtc/examples/peerconnection/client/linux/main_wnd.h
|
| +++ b/webrtc/examples/peerconnection/client/linux/main_wnd.h
|
| @@ -71,7 +71,7 @@ class GtkMainWnd : public MainWindow {
|
| void OnRedraw();
|
|
|
| protected:
|
| - class VideoRenderer : public webrtc::VideoRendererInterface {
|
| + class VideoRenderer : public rtc::VideoSinkInterface<cricket::VideoFrame> {
|
| public:
|
| VideoRenderer(GtkMainWnd* main_wnd,
|
| webrtc::VideoTrackInterface* track_to_render);
|
| @@ -79,7 +79,7 @@ class GtkMainWnd : public MainWindow {
|
|
|
| // VideoRendererInterface implementation
|
| virtual void SetSize(int width, int height);
|
| - virtual void RenderFrame(const cricket::VideoFrame* frame);
|
| + virtual void OnFrame(const cricket::VideoFrame& frame);
|
|
|
| const uint8_t* image() const { return image_.get(); }
|
|
|
|
|