ref: f2437f24b995d0e71849ad66a1f5bb8d420e6021
parent: c287a9109f7b4fbf1831e28b0639e4801e64ed2f
author: lyao2 <[email protected]>
date: Wed Sep 3 13:40:19 EDT 2014
fix bug that iMaxSpatialBitrate is not correct assigned
--- a/codec/encoder/core/inc/param_svc.h
+++ b/codec/encoder/core/inc/param_svc.h
@@ -398,6 +398,8 @@
pSpatialLayer->iVideoHeight = pCodingParam.sSpatialLayers[iIdxSpatial].iVideoHeight;// frame height
pSpatialLayer->iSpatialBitrate =
pCodingParam.sSpatialLayers[iIdxSpatial].iSpatialBitrate; // target bitrate for current spatial layer
+ pSpatialLayer->iMaxSpatialBitrate =
+ pCodingParam.sSpatialLayers[iIdxSpatial].iMaxSpatialBitrate;
//multi slice
pSpatialLayer->sSliceCfg.uiSliceMode = pCodingParam.sSpatialLayers[iIdxSpatial].sSliceCfg.uiSliceMode;