Index: webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc |
index fdca8781bc62e80efc134142e7b9dd06607034a9..7dc75ed9e301d2c0e521b6e2ceb67145bf2f1b1b 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc |
@@ -351,6 +351,9 @@ TEST_F(TestSimulcastEncoderAdapterFake, SetChannelParameters) { |
TEST_F(TestSimulcastEncoderAdapterFake, EncodedCallbackForDifferentEncoders) { |
SetupCodec(); |
+ // Set bitrates so that we send all layers. |
+ adapter_->SetRates(1200, 30); |
+ |
// At this point, the simulcast encoder adapter should have 3 streams: HD, |
// quarter HD, and quarter quarter HD. We're going to mostly ignore the exact |
// resolutions, to test that the adapter forwards on the correct resolution |