| Index: webrtc/video/video_quality_test.cc
|
| diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
|
| index 7caa6367b001444c14cde8f3f764e609c3abde21..266d99ebc0f4a22ba62f316cf570992494a7e838 100644
|
| --- a/webrtc/video/video_quality_test.cc
|
| +++ b/webrtc/video/video_quality_test.cc
|
| @@ -1297,6 +1297,12 @@ VideoStream VideoQualityTest::DefaultVideoStream(const Params& params) {
|
| } else if (params.video.num_temporal_layers == 3) {
|
| stream.temporal_layer_thresholds_bps.push_back(stream.max_bitrate_bps / 4);
|
| stream.temporal_layer_thresholds_bps.push_back(stream.target_bitrate_bps);
|
| + } else {
|
| + RTC_CHECK_LE(params.video.num_temporal_layers, kMaxTemporalStreams);
|
| + for (int i = 0; i < params.video.num_temporal_layers - 1; ++i) {
|
| + stream.temporal_layer_thresholds_bps.push_back(static_cast<int>(
|
| + stream.max_bitrate_bps * kVp8LayerRateAlloction[0][i] + 0.5));
|
| + }
|
| }
|
| return stream;
|
| }
|
|
|