| Index: webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc
|
| index e22c8b46757117fd8d805eafb0b164771dbd4d8a..1e36c448103329c08f4d0d4340911fa133deee39 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc
|
| @@ -53,8 +53,7 @@
|
| DefaultTemporalLayers tl(2, 0);
|
| vpx_codec_enc_cfg_t cfg;
|
| CodecSpecificInfoVP8 vp8_info;
|
| - tl.OnRatesUpdated(500, 500, 30);
|
| - tl.UpdateConfiguration(&cfg);
|
| + tl.ConfigureBitrates(500, 500, 30, &cfg);
|
|
|
| int expected_flags[16] = {
|
| kTemporalUpdateLastAndGoldenRefAltRef,
|
| @@ -95,8 +94,7 @@
|
| DefaultTemporalLayers tl(3, 0);
|
| vpx_codec_enc_cfg_t cfg;
|
| CodecSpecificInfoVP8 vp8_info;
|
| - tl.OnRatesUpdated(500, 500, 30);
|
| - tl.UpdateConfiguration(&cfg);
|
| + tl.ConfigureBitrates(500, 500, 30, &cfg);
|
|
|
| int expected_flags[16] = {
|
| kTemporalUpdateLastAndGoldenRefAltRef,
|
| @@ -137,8 +135,7 @@
|
| DefaultTemporalLayers tl(4, 0);
|
| vpx_codec_enc_cfg_t cfg;
|
| CodecSpecificInfoVP8 vp8_info;
|
| - tl.OnRatesUpdated(500, 500, 30);
|
| - tl.UpdateConfiguration(&cfg);
|
| + tl.ConfigureBitrates(500, 500, 30, &cfg);
|
| int expected_flags[16] = {
|
| kTemporalUpdateLast,
|
| kTemporalUpdateNone,
|
| @@ -178,8 +175,7 @@
|
| DefaultTemporalLayers tl(3, 0);
|
| vpx_codec_enc_cfg_t cfg;
|
| CodecSpecificInfoVP8 vp8_info;
|
| - tl.OnRatesUpdated(500, 500, 30);
|
| - tl.UpdateConfiguration(&cfg);
|
| + tl.ConfigureBitrates(500, 500, 30, &cfg);
|
|
|
| int expected_flags[8] = {
|
| kTemporalUpdateLastAndGoldenRefAltRef,
|
|
|