ref: 84d6ed0b78bd38999edb032eb2a1e7d78f1b2f59
parent: 997f0ed69b811697611fceb2d12ca8cfe423521a
parent: 0cb2c2d3b06e70a83efe85bd2d80a0257e1dfc9b
author: ruil2 <[email protected]>
date: Mon Sep 19 06:26:22 EDT 2016
Merge pull request #2558 from huili2/remove_log_many_idr_noEC remove too many log for IDR loss under EC is off
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -1208,8 +1208,9 @@
pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
pCtx->sDecoderStatistics.uiIDRLostNum++;
- WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
- "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.");
+ if (!pCtx->bParamSetsLostFlag)
+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
+ "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.");
pCtx->iErrorCode |= dsRefLost;
if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {
#ifdef LONG_TERM_REF