Index: webrtc/video/screenshare_loopback.cc |
diff --git a/webrtc/video/screenshare_loopback.cc b/webrtc/video/screenshare_loopback.cc |
index 91002ef9043484f0b82b8b650e35ee3c617d0d00..4e82a9d495532fa3e1633bda1ce2713d471d38d5 100644 |
--- a/webrtc/video/screenshare_loopback.cc |
+++ b/webrtc/video/screenshare_loopback.cc |
@@ -219,7 +219,8 @@ void Loopback() { |
Call::Config::BitrateConfig call_bitrate_config; |
call_bitrate_config.min_bitrate_bps = flags::MinBitrateKbps() * 1000; |
call_bitrate_config.start_bitrate_bps = flags::StartBitrateKbps() * 1000; |
- call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000; |
+ call_bitrate_config.max_bitrate_bps = |
+ rtc::Optional<int>(flags::MaxBitrateKbps() * 1000); |
VideoQualityTest::Params params{ |
{flags::Width(), flags::Height(), flags::Fps(), |