shithub: libvpx

Download patch

ref: cb7b2a4f4badf167a1bba8319efd6d899620208a
parent: d73e6cef758da47d582b0485e736acc2417a6f70
author: Marco <[email protected]>
date: Tue Nov 3 03:15:04 EST 2015

Adjust threshold for datarate frame drop test.

Current threshold is little too strict.

Change-Id: I99ec1409d095e0c2fd3b7ab398742cabcc05700b

--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -538,7 +538,7 @@
         << " The first dropped frame for drop_thresh " << i
         << " > first dropped frame for drop_thresh "
         << i - kDropFrameThreshTestStep;
-    ASSERT_GE(num_drops_, last_num_drops * 0.90)
+    ASSERT_GE(num_drops_, last_num_drops * 0.85)
         << " The number of dropped frames for drop_thresh " << i
         << " < number of dropped frames for drop_thresh "
         << i - kDropFrameThreshTestStep;