Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 4 files). Show all
Unified · Split
| @@ -3694,11 +3694,9 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 3693 unmodified lines | ||
| 3694 | 3694 | pCtx->bLongTermRefFlag[d_idx][0] = true; |
| 3695 | 3695 | } |
| 3696 | 3696 | |
| 3697 | − if (iCurTid < pCtx->uiSpatialLayersInTemporal[d_idx] - 1 || pSvcParam->iDecompStages == 0) { | |
| 3698 | − if( pCtx->pVpp->UpdateSpatialPictures(pCtx, pSvcParam, iCurTid, d_idx) != 0 ){ | |
| 3699 | − ForceCodingIDR(pCtx); | |
| 3700 | − return -1; | |
| 3701 | − } | |
| 3697 | + if( pCtx->pVpp->UpdateSpatialPictures(pCtx, pSvcParam, iCurTid, d_idx) != 0 ){ | |
| 3698 | + ForceCodingIDR(pCtx); | |
| 3699 | + return -1; | |
| 3702 | 3700 | } |
| 3703 | 3701 | |
| 3704 | 3702 | if (pSvcParam->bEnableLongTermReference && ((pCtx->pLtr[pCtx->uiDependencyId].bLTRMarkingFlag |