ref: 5cad8a60c9268a34ec0a658fa7b2cf7c1bdfc9fb
parent: f9b7746ea1e881a04d799ca559510af69fe465b9
parent: 19ea4244f567eb8c5b0747d8c8a488bbc19bbe68
author: ruil2 <[email protected]>
date: Tue Jun 10 12:53:44 EDT 2014
Merge pull request #941 from mstorsjo/test-multilayer-bitrate Set a sensible total bitrate when testing multilayer encoding
--- 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);
}