enable no-delay decoding for MSlice
Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 5 files). Show all
Unified · Split
| @@ -509,6 +509,9 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 508 unmodified lines | ||
| 509 | 509 | |
| 510 | 510 | iConsumedBytes = 0; |
| 511 | 511 | pNalPayload = ParseNalHeader (pCtx, &pCtx->sCurNalHead, pDstNal, iDstIdx, pSrcNal - 3, iSrcIdx + 3, &iConsumedBytes); |
| 512 | + if ((pCtx->iErrorConMethod != ERROR_CON_DISABLE) && (IS_VCL_NAL (pCtx->sCurNalHead.eNalUnitType, 1))) { | |
| 513 | + CheckAndDoEC (pCtx, ppDst, pDstBufInfo); | |
| 514 | + } | |
| 512 | 515 | if (IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) && pNalPayload) { |
| 513 | 516 | iRet = ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes); |
| 514 | 517 | } |