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

Unified Diff: webrtc/test/video_capturer.h

Issue 2257413002: Replace interface VideoCapturerInput with VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed code review comments. Created 4 years, 3 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/test/video_capturer.h
diff --git a/webrtc/test/video_capturer.h b/webrtc/test/video_capturer.h
index 169fd7151d656fe432c67fd5f978906b146628b0..9b761eb2a5f4b10f75d6c49a52cc47ef5a9d8740 100644
--- a/webrtc/test/video_capturer.h
+++ b/webrtc/test/video_capturer.h
@@ -12,29 +12,21 @@
#include <stddef.h>
+#include "webrtc/media/base/videosourceinterface.h"
+#include "webrtc/video_frame.h"
+
namespace webrtc {
class Clock;
-class VideoCaptureInput;
-
namespace test {
-class VideoCapturer {
+class VideoCapturer : public rtc::VideoSourceInterface<VideoFrame> {
public:
- static VideoCapturer* Create(VideoCaptureInput* input,
- size_t width,
- size_t height,
- int fps,
- Clock* clock);
virtual ~VideoCapturer() {}
virtual void Start() = 0;
virtual void Stop() = 0;
stefan-webrtc 2016/09/13 09:26:43 Where's the implementation of this now that video_
perkj_webrtc 2016/09/14 14:20:22 This is now a pure interface that just extend rtc:
-
- protected:
- explicit VideoCapturer(VideoCaptureInput* input);
- VideoCaptureInput* input_;
};
} // test
} // webrtc

Powered by Google App Engine
This is Rietveld 408576698