From 5add4ad09c10b549324f93cde72b7461c31ddb2e Mon Sep 17 00:00:00 2001 From: "solenberg@webrtc.org" Date: Wed, 15 May 2013 13:49:57 +0000 Subject: [PATCH] RemoteBitrateEstimatorTest::TestRateIncreaseReordering sent in arrival timestamps in non monotonically increasing order. Fixed. BUG= R=holmer@google.com, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1481004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4034 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../remote_bitrate_estimator_unittest.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest.cc index e60fdde80..3a71999ae 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest.cc +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest.cc @@ -86,8 +86,7 @@ TEST_F(RemoteBitrateEstimatorTest, TestRateIncreaseReordering) { clock_.TimeInMilliseconds(), timestamp); bitrate_estimator_->IncomingPacket(kDefaultSsrc, 1000, - clock_.TimeInMilliseconds() - - kFrameIntervalMs, + clock_.TimeInMilliseconds(), timestamp - 90 * kFrameIntervalMs); } bitrate_estimator_->Process();