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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2730433005: Fixed VP8 simulcast full-stack-tests to not decode non-selected streams. (Closed)
Patch Set: Implemented Sprang@ comments Created 3 years, 10 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 6818a5cad6b390d28b6ab3d963c7b5f538458972..7cc71dcf0e114c728359dec6e12b734f49bfef6d 100644
--- a/webrtc/video/video_quality_test.cc
+++ b/webrtc/video/video_quality_test.cc
@@ -1271,6 +1271,16 @@ void VideoQualityTest::SetupVideo(Transport* send_transport,
kSendRtxPayloadType;
video_receive_configs_[i].rtp.transport_cc = params_.call.send_side_bwe;
video_receive_configs_[i].rtp.remb = !params_.call.send_side_bwe;
+ // Force fake decoders on non-selected simulcast streams.
+ if (i != params_.ss.selected_stream) {
+ VideoReceiveStream::Decoder decoder;
+ decoder.decoder = new test::FakeDecoder();
+ decoder.payload_type = video_send_config_.encoder_settings.payload_type;
+ decoder.payload_name = video_send_config_.encoder_settings.payload_name;
+ video_receive_configs_[i].decoders.clear();
+ allocated_decoders_.emplace_back(decoder.decoder);
+ video_receive_configs_[i].decoders.push_back(decoder);
+ }
}
if (params_.video.flexfec) {
« 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