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

Unified Diff: talk/media/base/fakecapturemanager.h

Issue 1646463002: Revert of New rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « talk/media/base/capturerenderadapter.cc ('k') | talk/media/base/videorenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/fakecapturemanager.h
diff --git a/talk/media/base/fakecapturemanager.h b/talk/media/base/fakecapturemanager.h
index 577a033e994e9cdc056973d417d7099050ce3436..64c0f521d5d4244204487a2d7c92fe83887a09a6 100644
--- a/talk/media/base/fakecapturemanager.h
+++ b/talk/media/base/fakecapturemanager.h
@@ -37,10 +37,14 @@
FakeCaptureManager() {}
~FakeCaptureManager() {}
- void AddVideoSink(VideoCapturer* video_capturer,
- rtc::VideoSinkInterface<VideoFrame>* sink) override {}
- void RemoveVideoSink(VideoCapturer* video_capturer,
- rtc::VideoSinkInterface<VideoFrame>* sink) override {}
+ virtual bool AddVideoRenderer(VideoCapturer* video_capturer,
+ VideoRenderer* video_renderer) {
+ return true;
+ }
+ virtual bool RemoveVideoRenderer(VideoCapturer* video_capturer,
+ VideoRenderer* video_renderer) {
+ return true;
+ }
};
} // namespace cricket
« no previous file with comments | « talk/media/base/capturerenderadapter.cc ('k') | talk/media/base/videorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698