Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1208,8 +1208,9 @@ int32_t UpdateAccessUnit (PWelsDecoderContext pCtx) { · 1207 unmodified lines | |||
| 1208 | pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009 | 1208 | pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009 |
| 1209 | 1209 | ||
| 1210 | pCtx->sDecoderStatistics.uiIDRLostNum++; | 1210 | pCtx->sDecoderStatistics.uiIDRLostNum++; |
| 1211 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, | 1211 | if (!pCtx->bParamSetsLostFlag) |
| 1212 | "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU."); | 1212 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 1213 | "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU."); | ||
| 1213 | pCtx->iErrorCode |= dsRefLost; | 1214 | pCtx->iErrorCode |= dsRefLost; |
| 1214 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) { | 1215 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) { |
| 1215 | #ifdef LONG_TERM_REF | 1216 | #ifdef LONG_TERM_REF |