From e3d6ffede4415db0894d8bc1446f91bec5a91d4c Mon Sep 17 00:00:00 2001 From: "marpan@webrtc.org" Date: Fri, 15 Feb 2013 23:31:17 +0000 Subject: [PATCH] Increase threshold in codec unit test. Review URL: https://webrtc-codereview.appspot.com/1096011 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3526 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/video_coding/codecs/test_framework/unit_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc b/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc index 14e856a7bc..2fe118c417 100644 --- a/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc +++ b/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc @@ -778,7 +778,7 @@ UnitTest::RateControlTests() printf("Target bitrate: %d kbps, actual bitrate: %d kbps\n", _bitRate, actualBitrate); // Test for close match over reasonable range. - if (_bitRate >= 100 && _bitRate <= 2500) + if (_bitRate >= 105 && _bitRate <= 2500) { EXPECT_TRUE(abs(WebRtc_Word32(actualBitrate - _bitRate)) < 0.12 * _bitRate); // for VP8