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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2304363002: Let ViEEncoder express resolution requests as Sinkwants (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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 | « webrtc/video/send_statistics_proxy_unittest.cc ('k') | webrtc/video/video_send_stream.h » ('j') | 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 8e89544721d22e712e0538afb2fa969d1d7d0cf5..c773e431502c2e150b2caf1d8a6279ca03ef2d1f 100644
--- a/webrtc/video/video_quality_test.cc
+++ b/webrtc/video/video_quality_test.cc
@@ -1217,7 +1217,9 @@ void VideoQualityTest::RunWithAnalyzer(const Params& params) {
CreateVideoStreams();
analyzer.SetSendStream(video_send_stream_);
- video_send_stream_->SetSource(analyzer.OutputInterface());
+ video_send_stream_->SetSource(
+ analyzer.OutputInterface(),
+ VideoSendStream::DegradationPreference::kBalanced);
CreateCapturer();
rtc::VideoSinkWants wants;
@@ -1365,7 +1367,9 @@ void VideoQualityTest::RunWithRenderers(const Params& params) {
video_receive_stream = call->CreateVideoReceiveStream(
video_receive_configs_[stream_id].Copy());
CreateCapturer();
- video_send_stream_->SetSource(video_capturer_.get());
+ video_send_stream_->SetSource(
+ video_capturer_.get(),
+ VideoSendStream::DegradationPreference::kBalanced);
}
AudioReceiveStream* audio_receive_stream = nullptr;
« no previous file with comments | « webrtc/video/send_statistics_proxy_unittest.cc ('k') | webrtc/video/video_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698