| Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc
|
| diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc
|
| index b77550f12120ef55a3309c9f0e71d4c3542440a3..fef4d8dfb2f3d42f47b1d7d78c95a1021a8441e5 100644
|
| --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc
|
| +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc
|
| @@ -270,7 +270,8 @@ bool RemoteBitrateEstimatorTest::GenerateAndProcessFrame(uint32_t ssrc,
|
| delete packet;
|
| packets.pop_front();
|
| }
|
| - bitrate_estimator_->Process();
|
| + if (bitrate_estimator_->TimeUntilNextProcess() <= 0)
|
| + bitrate_estimator_->Process();
|
| clock_.AdvanceTimeMicroseconds(next_time_us - clock_.TimeInMicroseconds());
|
| return overuse;
|
| }
|
|
|