Index: webrtc/video/video_loopback.cc |
diff --git a/webrtc/video/video_loopback.cc b/webrtc/video/video_loopback.cc |
index 87aacc6755f86a2f61a785b8435018cf57b98f3e..5560185dbec9b9ffe7fbc08562dc56b1e39f1c9a 100644 |
--- a/webrtc/video/video_loopback.cc |
+++ b/webrtc/video/video_loopback.cc |
@@ -208,7 +208,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(), |