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

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

Issue 1594973006: New rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Workaround to not break chrome. 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 64c0f521d5d4244204487a2d7c92fe83887a09a6..577a033e994e9cdc056973d417d7099050ce3436 100644
--- a/talk/media/base/fakecapturemanager.h
+++ b/talk/media/base/fakecapturemanager.h
@@ -37,14 +37,10 @@ class FakeCaptureManager : public CaptureManager {
FakeCaptureManager() {}
~FakeCaptureManager() {}
- virtual bool AddVideoRenderer(VideoCapturer* video_capturer,
- VideoRenderer* video_renderer) {
- return true;
- }
- virtual bool RemoveVideoRenderer(VideoCapturer* video_capturer,
- VideoRenderer* video_renderer) {
- return true;
- }
+ void AddVideoSink(VideoCapturer* video_capturer,
+ rtc::VideoSinkInterface<VideoFrame>* sink) override {}
+ void RemoveVideoSink(VideoCapturer* video_capturer,
+ rtc::VideoSinkInterface<VideoFrame>* sink) override {}
};
} // 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