History

remove too many log for IDR loss under EC is off

huili2 committed 10 years ago

Commit 0cb2c2d1 parent f22c47c1 file · +3 −2Browse files

Showing the changes to codec/decoder (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+3−2
@@ -1208,8 +1208,9 @@ int32_t UpdateAccessUnit (PWelsDecoderContext pCtx) { · 1207 unmodified lines
12081208 pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
12091209
12101210 pCtx->sDecoderStatistics.uiIDRLostNum++;
1211− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1212− "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.");
1211+ if (!pCtx->bParamSetsLostFlag)
1212+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1213+ "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.");
12131214 pCtx->iErrorCode |= dsRefLost;
12141215 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {
12151216 #ifdef LONG_TERM_REF

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t