fix uiIdrPicId update issue
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all
Unified · Split
| @@ -4404,7 +4404,7 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 4403 unmodified lines | |||
| 4404 | //if WelsInitEncoderExt succeed | 4404 | //if WelsInitEncoderExt succeed |
| 4405 | //for LTR or SPS,PPS ID update | 4405 | //for LTR or SPS,PPS ID update |
| 4406 | for (iIndexD = 0; iIndexD < pNewParam->iSpatialLayerNum; iIndexD++) { | 4406 | for (iIndexD = 0; iIndexD < pNewParam->iSpatialLayerNum; iIndexD++) { |
| 4407 | pNewParam->sDependencyLayers[iIndexD].uiIdrPicId = uiMaxIdrPicId; | 4407 | (*ppCtx)->pSvcParam->sDependencyLayers[iIndexD].uiIdrPicId = uiMaxIdrPicId; |
| 4408 | } | 4408 | } |
| 4409 | 4409 | ||
| 4410 | //for sEncoderStatistics | 4410 | //for sEncoderStatistics |