Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1747)

Unified Diff: webrtc/examples/peerconnection/client/linux/main_wnd.h

Issue 1817473002: Delete VideoRendererInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix JavaVideoRendererWrapper. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..29db8387397f64c4ce02b8c20f81fbf62c1358f0 100644
--- a/webrtc/examples/peerconnection/client/linux/main_wnd.h
+++ b/webrtc/examples/peerconnection/client/linux/main_wnd.h
@@ -77,9 +77,10 @@ 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;
+
+ void SetSize(int width, int height);
pthatcher1 2016/03/18 17:00:58 Is anything ever going to call this?
nisse-webrtc 2016/03/21 08:37:56 It's called by OnFrame. But there's no need for it
const uint8_t* image() const { return image_.get(); }

Powered by Google App Engine
This is Rietveld 408576698