Showing the changes to codec/decoder (1 of 1 file). Show all
Unified · Split
| @@ -1386,6 +1386,9 @@ DECODING_STATE CWelsDecoder::ParseAccessUnit (SWelsDecoderThreadCTX& sThreadCtx) · 1385 unmodified lines | ||
| 1386 | 1386 | } else if (bPicBuffChanged) { |
| 1387 | 1387 | InitialDqLayersContext (sThreadCtx.pCtx, sThreadCtx.pCtx->pSps->iMbWidth << 4, sThreadCtx.pCtx->pSps->iMbHeight << 4); |
| 1388 | 1388 | } |
| 1389 | + if (!sThreadCtx.pCtx->bNewSeqBegin && m_pLastDecThrCtx != NULL) { | |
| 1390 | + sThreadCtx.pCtx->sFrameCrop = m_pLastDecThrCtx->pCtx->pSps->sFrameCrop; | |
| 1391 | + } | |
| 1389 | 1392 | m_bParamSetsLostFlag = sThreadCtx.pCtx->bNewSeqBegin ? false : sThreadCtx.pCtx->bParamSetsLostFlag; |
| 1390 | 1393 | m_bFreezeOutput = sThreadCtx.pCtx->bNewSeqBegin ? false : sThreadCtx.pCtx->bFreezeOutput; |
| 1391 | 1394 | return (DECODING_STATE)iErr; |