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 a7eb25e9b1ea7ffa18ba1aaf6e1d6b308087e64a..e756fc98c4a6b935b9d1bbf681948c0b00a834b2 100644 |
--- a/webrtc/examples/peerconnection/client/linux/main_wnd.h |
+++ b/webrtc/examples/peerconnection/client/linux/main_wnd.h |
@@ -77,9 +77,8 @@ class GtkMainWnd : public MainWindow { |
webrtc::VideoTrackInterface* track_to_render); |
virtual ~VideoRenderer(); |
- // VideoRendererInterface implementation |
- virtual void SetSize(int width, int height); |
- virtual void OnFrame(const cricket::VideoFrame& frame); |
+ // VideoSinkInterface implementation |
+ void OnFrame(const cricket::VideoFrame& frame) override; |
const uint8_t* image() const { return image_.get(); } |
@@ -92,6 +91,7 @@ class GtkMainWnd : public MainWindow { |
} |
protected: |
+ void SetSize(int width, int height); |
rtc::scoped_ptr<uint8_t[]> image_; |
int width_; |
int height_; |