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

Unified Diff: webrtc/test/video_capturer.h

Issue 2344923002: Revert of Replace interface VideoCapturerInput with VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « webrtc/test/vcm_capturer.cc ('k') | webrtc/test/video_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/video_capturer.h
diff --git a/webrtc/test/video_capturer.h b/webrtc/test/video_capturer.h
index 9b761eb2a5f4b10f75d6c49a52cc47ef5a9d8740..169fd7151d656fe432c67fd5f978906b146628b0 100644
--- a/webrtc/test/video_capturer.h
+++ b/webrtc/test/video_capturer.h
@@ -12,21 +12,29 @@
#include <stddef.h>
-#include "webrtc/media/base/videosourceinterface.h"
-#include "webrtc/video_frame.h"
-
namespace webrtc {
class Clock;
+class VideoCaptureInput;
+
namespace test {
-class VideoCapturer : public rtc::VideoSourceInterface<VideoFrame> {
+class VideoCapturer {
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;
+
+ protected:
+ explicit VideoCapturer(VideoCaptureInput* input);
+ VideoCaptureInput* input_;
};
} // test
} // webrtc
« no previous file with comments | « webrtc/test/vcm_capturer.cc ('k') | webrtc/test/video_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698