Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
index 9a1bbc16b55aafc0a062796c077fb94990f27a27..2b740434c1abbdae940167e81ce5d41de950079b 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
@@ -118,15 +118,16 @@ |
} |
} |
-void RemoteBitrateEstimatorSingleStream::Process() { |
+int32_t RemoteBitrateEstimatorSingleStream::Process() { |
if (TimeUntilNextProcess() > 0) { |
- return; |
+ return 0; |
} |
{ |
CriticalSectionScoped cs(crit_sect_.get()); |
UpdateEstimate(clock_->TimeInMilliseconds()); |
} |
last_process_time_ = clock_->TimeInMilliseconds(); |
+ return 0; |
} |
int64_t RemoteBitrateEstimatorSingleStream::TimeUntilNextProcess() { |