Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3155,6 +3155,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3154 unmodified lines | |||
| 3155 | 3155 | ||
| 3156 | pCtx->pFuncList->pMarkPic (pCtx); | 3156 | pCtx->pFuncList->pMarkPic (pCtx); |
| 3157 | if (!pCtx->pFuncList->pBuildRefList (pCtx, pCtx->iPOC, 0)) { | 3157 | if (!pCtx->pFuncList->pBuildRefList (pCtx, pCtx->iPOC, 0)) { |
| 3158 | pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx); | ||
| 3158 | // Force coding IDR as followed | 3159 | // Force coding IDR as followed |
| 3159 | ForceCodingIDR (pCtx); | 3160 | ForceCodingIDR (pCtx); |
| 3160 | WelsLog (pLogCtx, WELS_LOG_WARNING, | 3161 | WelsLog (pLogCtx, WELS_LOG_WARNING, |
| @@ -3425,6 +3426,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 264 unmodified lines | |||
| 3425 | // reference picture list update | 3426 | // reference picture list update |
| 3426 | if (eNalRefIdc != NRI_PRI_LOWEST) { | 3427 | if (eNalRefIdc != NRI_PRI_LOWEST) { |
| 3427 | if (!pCtx->pFuncList->pUpdateRefList (pCtx)) { | 3428 | if (!pCtx->pFuncList->pUpdateRefList (pCtx)) { |
| 3429 | pCtx->pVpp->UpdateSpatialPictures (pCtx, pSvcParam, iCurTid, iDidIdx); | ||
| 3428 | // Force coding IDR as followed | 3430 | // Force coding IDR as followed |
| 3429 | ForceCodingIDR (pCtx); | 3431 | ForceCodingIDR (pCtx); |
| 3430 | WelsLog (pLogCtx, WELS_LOG_WARNING, "WelsEncoderEncodeExt(), WelsUpdateRefList failed. ForceCodingIDR!"); | 3432 | WelsLog (pLogCtx, WELS_LOG_WARNING, "WelsEncoderEncodeExt(), WelsUpdateRefList failed. ForceCodingIDR!"); |