| Index: webrtc/video/video_quality_test.cc
|
| diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
|
| index cea8af18fe6e2f731598fa94c6ebdc94a70c2985..565506c4b30130848e64243ccd4a36b85249c302 100644
|
| --- a/webrtc/video/video_quality_test.cc
|
| +++ b/webrtc/video/video_quality_test.cc
|
| @@ -1505,12 +1505,13 @@ void VideoQualityTest::SetupScreenshareOrSVC() {
|
| // Setup frame generator.
|
| const size_t kWidth = 1850;
|
| const size_t kHeight = 1110;
|
| - std::vector<std::string> slides;
|
| - slides.push_back(test::ResourcePath("web_screenshot_1850_1110", "yuv"));
|
| - slides.push_back(test::ResourcePath("presentation_1850_1110", "yuv"));
|
| - slides.push_back(test::ResourcePath("photo_1850_1110", "yuv"));
|
| - slides.push_back(test::ResourcePath("difficult_photo_1850_1110", "yuv"));
|
| -
|
| + std::vector<std::string> slides = params_.screenshare.slides;
|
| + if (slides.size() == 0) {
|
| + slides.push_back(test::ResourcePath("web_screenshot_1850_1110", "yuv"));
|
| + slides.push_back(test::ResourcePath("presentation_1850_1110", "yuv"));
|
| + slides.push_back(test::ResourcePath("photo_1850_1110", "yuv"));
|
| + slides.push_back(test::ResourcePath("difficult_photo_1850_1110", "yuv"));
|
| + }
|
| if (params_.screenshare.scroll_duration == 0) {
|
| // Cycle image every slide_change_interval seconds.
|
| frame_generator_ = test::FrameGenerator::CreateFromYuvFile(
|
|
|