Merge pull request #1963 from llyzs/dynamic_qp

Copy QP value when changing encoder config
This commit is contained in:
sijchen 2015-06-01 10:43:58 +08:00
commit ed73d51945

View File

@ -4606,6 +4606,7 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa
pOldDlp->iSpatialBitrate = pNewDlp->iSpatialBitrate; pOldDlp->iSpatialBitrate = pNewDlp->iSpatialBitrate;
pOldDlp->uiProfileIdc = pNewDlp->uiProfileIdc; // value of profile IDC (0 for auto-detection) pOldDlp->uiProfileIdc = pNewDlp->uiProfileIdc; // value of profile IDC (0 for auto-detection)
pOldDlp->iDLayerQp = pNewDlp->iDLayerQp;
/* Derived variants below */ /* Derived variants below */
pOldDlpInternal->iTemporalResolution = pNewDlpInternal->iTemporalResolution; pOldDlpInternal->iTemporalResolution = pNewDlpInternal->iTemporalResolution;