Set a sensible total bitrate when testing multilayer encoding

The previous encoder parameters triggered warning logging in
the encoder.
This commit is contained in:
Martin Storsjö 2014-06-10 10:57:11 +03:00
parent eb889c95e0
commit 19ea4244f5

View File

@ -47,6 +47,7 @@ static int InitWithParam(ISVCEncoder* encoder, EUsageType usageType,int width,
param.uiMaxNalSize = 1500;
}
}
param.iTargetBitrate *= param.iSpatialLayerNum;
return encoder->InitializeExt(&param);
}