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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 1394463002: Fixing perf regression caused by refactoring full stack tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698