Merge "Relax the threshold for datarate test by 5%"
This commit is contained in:
commit
8f3943d8ca
@ -145,7 +145,7 @@ TEST_P(DatarateTestLarge, BasicBufferModel) {
|
||||
cfg_.rc_target_bitrate = i;
|
||||
ResetModel();
|
||||
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
|
||||
ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_)
|
||||
ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95)
|
||||
<< " The datarate for the file exceeds the target!";
|
||||
|
||||
ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.3)
|
||||
|
Loading…
Reference in New Issue
Block a user