Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3532,7 +3532,8 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 3531 unmodified lines | ||
| 3532 | 3532 | || pOldParam->iPicHeight != pNewParam->iPicHeight) || |
| 3533 | 3533 | (pOldParam->SUsedPicRect.iWidth != pNewParam->SUsedPicRect.iWidth |
| 3534 | 3534 | || pOldParam->SUsedPicRect.iHeight != pNewParam->SUsedPicRect.iHeight) || |
| 3535 | − (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference); | |
| 3535 | + (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference) || | |
| 3536 | + (pOldParam->iLTRRefNum != pNewParam->iLTRRefNum); | |
| 3536 | 3537 | if (!bNeedReset) { // Check its picture resolutions/quality settings respectively in each dependency layer |
| 3537 | 3538 | iIndexD = 0; |
| 3538 | 3539 | assert (pOldParam->iSpatialLayerNum == pNewParam->iSpatialLayerNum); |