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

Unified Diff: talk/app/webrtc/videosourceinterface.h

Issue 1594973006: New rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed nits. Created 4 years, 11 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: talk/app/webrtc/videosourceinterface.h
diff --git a/talk/app/webrtc/videosourceinterface.h b/talk/app/webrtc/videosourceinterface.h
index a90e3d5a48f5eeb773db59e5e2ab35f728757d6c..40393100166b8fa47f205d57f64fb6180c50c5ad 100644
--- a/talk/app/webrtc/videosourceinterface.h
+++ b/talk/app/webrtc/videosourceinterface.h
@@ -49,8 +49,10 @@ class VideoSourceInterface : public MediaSourceInterface {
virtual void Restart() = 0;
// Adds |output| to the source to receive frames.
- virtual void AddSink(cricket::VideoRenderer* output) = 0;
- virtual void RemoveSink(cricket::VideoRenderer* output) = 0;
+ virtual void AddSink(
+ rtc::VideoSinkInterface<cricket::VideoFrame>* output) = 0;
+ virtual void RemoveSink(
+ rtc::VideoSinkInterface<cricket::VideoFrame>* output) = 0;
virtual const cricket::VideoOptions* options() const = 0;
virtual cricket::VideoRenderer* FrameInput() = 0;

Powered by Google App Engine
This is Rietveld 408576698