Index: webrtc/modules/bitrate_controller/bitrate_controller_impl.cc |
diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc b/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc |
index bf608789d5d7462110f9c6e434d4def02a09c79e..72a5ff510ddc28d459d0286d2cd2a89b3ee3ca0d 100644 |
--- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc |
+++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc |
@@ -162,15 +162,16 @@ |
kBitrateControllerUpdateIntervalMs - time_since_update_ms, 0); |
} |
-void BitrateControllerImpl::Process() { |
+int32_t BitrateControllerImpl::Process() { |
if (TimeUntilNextProcess() > 0) |
- return; |
+ return 0; |
{ |
rtc::CritScope cs(&critsect_); |
bandwidth_estimation_.UpdateEstimate(clock_->TimeInMilliseconds()); |
} |
MaybeTriggerOnNetworkChanged(); |
last_bitrate_update_ms_ = clock_->TimeInMilliseconds(); |
+ return 0; |
} |
void BitrateControllerImpl::OnReceivedRtcpReceiverReport( |