Index: webrtc/test/call_test.cc |
diff --git a/webrtc/test/call_test.cc b/webrtc/test/call_test.cc |
index e81d947c304d965dd4b85afc91174c301f611eed..d6cbaa6d7ee02a0c097f62761ea8824edc028df7 100644 |
--- a/webrtc/test/call_test.cc |
+++ b/webrtc/test/call_test.cc |
@@ -239,15 +239,15 @@ void CallTest::CreateFrameGeneratorCapturerWithDrift(Clock* clock, |
float speed) { |
VideoStream stream = video_encoder_config_.streams.back(); |
frame_generator_capturer_.reset(test::FrameGeneratorCapturer::Create( |
- video_send_stream_->Input(), stream.width, stream.height, |
- stream.max_framerate * speed, clock)); |
+ stream.width, stream.height, stream.max_framerate * speed, clock)); |
+ video_send_stream_->SetSource(frame_generator_capturer_.get()); |
} |
void CallTest::CreateFrameGeneratorCapturer() { |
VideoStream stream = video_encoder_config_.streams.back(); |
frame_generator_capturer_.reset(test::FrameGeneratorCapturer::Create( |
- video_send_stream_->Input(), stream.width, stream.height, |
- stream.max_framerate, clock_)); |
+ stream.width, stream.height, stream.max_framerate, clock_)); |
+ video_send_stream_->SetSource(frame_generator_capturer_.get()); |
} |
void CallTest::CreateFakeAudioDevices() { |