Merge pull request #1963 from llyzs/dynamic_qp
Copy QP value when changing encoder config
This commit is contained in:
commit
ed73d51945
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user