ref: 19ea4244f567eb8c5b0747d8c8a488bbc19bbe68
parent: eb889c95e0f1389af99ba4534f8cc19a4de0198b
author: Martin Storsjö <martin@martin.st>
date: Tue Jun 10 06:57:11 EDT 2014
Set a sensible total bitrate when testing multilayer encoding The previous encoder parameters triggered warning logging in the encoder.
--- a/test/api/BaseEncoderTest.cpp
+++ b/test/api/BaseEncoderTest.cpp
@@ -47,6 +47,7 @@
param.uiMaxNalSize = 1500;
}
}
+ param.iTargetBitrate *= param.iSpatialLayerNum;
return encoder->InitializeExt(¶m);
}