Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index c0f5754d0c48f92fefd879a43ee6f14cfaec2cec..1513b818cedd24fb1cbb6898409c359d1fbf72af 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -783,12 +783,12 @@ void VideoQualityTest::RunWithAnalyzer(const Params& params) { |
if (params.screenshare.enabled) |
SetupScreenshare(params); |
- CreateCapturer(params, &analyzer); |
- |
CreateStreams(); |
analyzer.input_ = send_stream_->Input(); |
analyzer.send_stream_ = send_stream_; |
+ CreateCapturer(params, &analyzer); |
+ |
send_stream_->Start(); |
for (size_t i = 0; i < receive_streams_.size(); ++i) |
receive_streams_[i]->Start(); |
@@ -842,10 +842,9 @@ void VideoQualityTest::RunWithVideoRenderer(const Params& params) { |
SetupScreenshare(params); |
send_stream_ = call->CreateVideoSendStream(send_config_, encoder_config_); |
- CreateCapturer(params, send_stream_->Input()); |
- |
VideoReceiveStream* receive_stream = |
call->CreateVideoReceiveStream(receive_configs_[0]); |
+ CreateCapturer(params, send_stream_->Input()); |
receive_stream->Start(); |
send_stream_->Start(); |