Index: webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc |
index 9e8c1c36ffe1952860146e86601df789ded8cbed..b41621c83f88f1849e14a68efc4661030395001c 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc |
@@ -418,6 +418,8 @@ TEST_F(ScreenshareLayerTest, EncoderDrop) { |
ConfigureBitrates(); |
CodecSpecificInfoVP8 vp8_info; |
vpx_codec_enc_cfg_t cfg = GetConfig(); |
+ // Updates cfg with current target bitrate. |
+ EXPECT_TRUE(layers_->UpdateConfiguration(&cfg)); |
uint32_t timestamp = RunGracePeriod(); |
timestamp = SkipUntilTl(0, timestamp); |