Index: webrtc/test/frame_generator_capturer.h |
diff --git a/webrtc/test/frame_generator_capturer.h b/webrtc/test/frame_generator_capturer.h |
index 2b2cfbc82133706b16aa67075823d32372731cd6..1d6fb626640ffcaf02f9aa86a0141ec447714105 100644 |
--- a/webrtc/test/frame_generator_capturer.h |
+++ b/webrtc/test/frame_generator_capturer.h |
@@ -18,7 +18,6 @@ |
#include "webrtc/common_video/rotation.h" |
#include "webrtc/test/video_capturer.h" |
#include "webrtc/typedefs.h" |
-#include "webrtc/video_frame.h" |
namespace webrtc { |
@@ -31,12 +30,14 @@ |
class FrameGeneratorCapturer : public VideoCapturer { |
public: |
- static FrameGeneratorCapturer* Create(size_t width, |
+ static FrameGeneratorCapturer* Create(VideoCaptureInput* input, |
+ size_t width, |
size_t height, |
int target_fps, |
Clock* clock); |
- static FrameGeneratorCapturer* CreateFromYuvFile(const std::string& file_name, |
+ static FrameGeneratorCapturer* CreateFromYuvFile(VideoCaptureInput* input, |
+ const std::string& file_name, |
size_t width, |
size_t height, |
int target_fps, |
@@ -45,17 +46,13 @@ |
void Start() override; |
void Stop() override; |
- |
- void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink, |
- const rtc::VideoSinkWants& wants) override; |
- void RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) override; |
- |
void ForceFrame(); |
void SetFakeRotation(VideoRotation rotation); |
int64_t first_frame_capture_time() const { return first_frame_capture_time_; } |
FrameGeneratorCapturer(Clock* clock, |
+ VideoCaptureInput* input, |
FrameGenerator* frame_generator, |
int target_fps); |
bool Init(); |
@@ -66,7 +63,6 @@ |
Clock* const clock_; |
bool sending_; |
- rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(&lock_); |
std::unique_ptr<EventTimerWrapper> tick_; |
rtc::CriticalSection lock_; |