| Index: webrtc/video/video_send_stream_tests.cc
|
| diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc
|
| index 067a6b7fc5048ba602999d0681d8661b6fd35508..7c3cd4f6ea4328a8afdc6838ed46a7bab17df9b5 100644
|
| --- a/webrtc/video/video_send_stream_tests.cc
|
| +++ b/webrtc/video/video_send_stream_tests.cc
|
| @@ -1770,7 +1770,8 @@ TEST_F(VideoSendStreamTest,
|
| Call::Config config;
|
| config.bitrate_config.min_bitrate_bps = kMinBitrateKbps * 1000;
|
| config.bitrate_config.start_bitrate_bps = kStartBitrateKbps * 1000;
|
| - config.bitrate_config.max_bitrate_bps = kMaxBitrateKbps * 1000;
|
| + config.bitrate_config.max_bitrate_bps =
|
| + rtc::Optional<int>(kMaxBitrateKbps * 1000);
|
| return config;
|
| }
|
|
|
| @@ -1799,7 +1800,8 @@ TEST_F(VideoSendStreamTest,
|
| void PerformTest() override {
|
| Call::Config::BitrateConfig bitrate_config;
|
| bitrate_config.start_bitrate_bps = kIncreasedStartBitrateKbps * 1000;
|
| - bitrate_config.max_bitrate_bps = kIncreasedMaxBitrateKbps * 1000;
|
| + bitrate_config.max_bitrate_bps =
|
| + rtc::Optional<int>(kIncreasedMaxBitrateKbps * 1000);
|
| call_->SetBitrateConfig(bitrate_config);
|
| EXPECT_TRUE(Wait())
|
| << "Timed out while waiting encoder to be configured.";
|
|
|