Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index a419195c0760e48bc969fc679763e42aec906b62..6bd638314f550afdaeacbc14d26f413058a05787 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -929,6 +929,8 @@ std::string VideoQualityTest::GenerateGraphTitle() const { |
} |
void VideoQualityTest::CheckParams() { |
+ if (!params_.video.enabled) |
+ return; |
// Add a default stream in none specified. |
if (params_.ss.streams.empty()) |
params_.ss.streams.push_back(VideoQualityTest::DefaultVideoStream(params_)); |