Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index e6feb2a0e88209a13534acacecde26f00f5db6ad..b84bb0996932aa254f27d1c7ce09ca529dfe213b 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -28,6 +28,7 @@ |
#include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
#include "webrtc/system_wrappers/include/cpu_info.h" |
+#include "webrtc/test/encoder_settings.h" |
#include "webrtc/test/layer_filtering_transport.h" |
#include "webrtc/test/run_loop.h" |
#include "webrtc/test/statistics.h" |
@@ -1012,7 +1013,8 @@ void VideoQualityTest::SetupCommon(Transport* send_transport, |
video_encoder_config_.min_transmit_bitrate_bps = |
params_.common.min_transmit_bps; |
- video_encoder_config_.streams = params_.ss.streams; |
+ test::FillEncoderConfiguration(params_.ss.streams.size(), |
+ &video_encoder_config_); |
video_encoder_config_.spatial_layers = params_.ss.spatial_layers; |
CreateMatchingReceiveConfigs(recv_transport); |
@@ -1309,7 +1311,7 @@ void VideoQualityTest::RunWithRenderers(const Params& params) { |
if (params_.audio_video_sync) |
audio_config.sync_group = kSyncGroup; |
- audio_receive_stream =call->CreateAudioReceiveStream(audio_config); |
+ audio_receive_stream = call->CreateAudioReceiveStream(audio_config); |
const CodecInst kOpusInst = {120, "OPUS", 48000, 960, 2, 64000}; |
EXPECT_EQ(0, voe.codec->SetSendCodec(voe.send_channel_id, kOpusInst)); |