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

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: 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..e35746c158f983eb84c93535191d04091366b539 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;
+ if (i != params_.ss.selected_stream) {
sprang_webrtc 2017/03/02 15:27:29 Maybe add a comment explaining what is going on he
ilnik 2017/03/02 15:37:19 Done.
+ 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_.push_back(
+ std::unique_ptr<VideoDecoder>(decoder.decoder));
sprang_webrtc 2017/03/02 15:27:29 nit: you can even just do allocated_decoders_.e
ilnik 2017/03/02 15:37:19 Done.
+ 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