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

Side by Side Diff: webrtc/video/video_quality_test.cc

Issue 2739613003: Disable failing fullstack test with 15 thumbnail streams (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « webrtc/video/full_stack_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "webrtc/video/video_quality_test.h" 10 #include "webrtc/video/video_quality_test.h"
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1508 VideoEncoderConfig::Vp9EncoderSpecificSettings>(vp9_settings); 1508 VideoEncoderConfig::Vp9EncoderSpecificSettings>(vp9_settings);
1509 } 1509 }
1510 } 1510 }
1511 1511
1512 void VideoQualityTest::SetupThumbnailCapturers(size_t num_thumbnail_streams) { 1512 void VideoQualityTest::SetupThumbnailCapturers(size_t num_thumbnail_streams) {
1513 VideoStream thumbnail = DefaultThumbnailStream(); 1513 VideoStream thumbnail = DefaultThumbnailStream();
1514 for (size_t i = 0; i < num_thumbnail_streams; ++i) { 1514 for (size_t i = 0; i < num_thumbnail_streams; ++i) {
1515 thumbnail_capturers_.emplace_back(test::FrameGeneratorCapturer::Create( 1515 thumbnail_capturers_.emplace_back(test::FrameGeneratorCapturer::Create(
1516 static_cast<int>(thumbnail.width), static_cast<int>(thumbnail.height), 1516 static_cast<int>(thumbnail.width), static_cast<int>(thumbnail.height),
1517 thumbnail.max_framerate, clock_)); 1517 thumbnail.max_framerate, clock_));
1518 RTC_DCHECK(thumbnail_capturers_.back());
sprang_webrtc 2017/03/07 13:49:26 Any idea why this would fail? Out of memory?
1518 } 1519 }
1519 } 1520 }
1520 1521
1521 void VideoQualityTest::CreateCapturer() { 1522 void VideoQualityTest::CreateCapturer() {
1522 if (params_.screenshare.enabled) { 1523 if (params_.screenshare.enabled) {
1523 test::FrameGeneratorCapturer* frame_generator_capturer = 1524 test::FrameGeneratorCapturer* frame_generator_capturer =
1524 new test::FrameGeneratorCapturer(clock_, std::move(frame_generator_), 1525 new test::FrameGeneratorCapturer(clock_, std::move(frame_generator_),
1525 params_.video.fps); 1526 params_.video.fps);
1526 EXPECT_TRUE(frame_generator_capturer->Init()); 1527 EXPECT_TRUE(frame_generator_capturer->Init());
1527 video_capturer_.reset(frame_generator_capturer); 1528 video_capturer_.reset(frame_generator_capturer);
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 std::ostringstream str; 1868 std::ostringstream str;
1868 str << receive_logs_++; 1869 str << receive_logs_++;
1869 std::string path = 1870 std::string path =
1870 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; 1871 params_.video.encoded_frame_base_path + "." + str.str() + ".recv.ivf";
1871 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), 1872 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path),
1872 10000000); 1873 10000000);
1873 } 1874 }
1874 } 1875 }
1875 1876
1876 } // namespace webrtc 1877 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/full_stack_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698