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 | iConsumedBytes = 0; | 510 | iConsumedBytes = 0; |
| 511 | pNalPayload = ParseNalHeader (pCtx, &pCtx->sCurNalHead, pDstNal, iDstIdx, pSrcNal - 3, iSrcIdx + 3, &iConsumedBytes); | 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 | if (IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) && pNalPayload) { | 515 | if (IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) && pNalPayload) { |
| 513 | iRet = ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes); | 516 | iRet = ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes); |
| 514 | } | 517 | } |