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

Unified Diff: webrtc/test/video_capturer.h

Issue 2348533002: Reland Replace interface VideoCapturerInput with VideoSinkInterface. (Closed)
Patch Set: Fix rtp timestamp in quality test. 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 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;
-
- 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