History

decrease dec log size

huili2 committed 12 years ago

Commit 581f8fd1 parent 68973985 files · +36 −23Browse files

Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 5 files). Show all

Unified · Split

codec/decoder/core/src/decoder.cpp+4−0
@@ -295,6 +295,8 @@ void WelsOpenDecoder (PWelsDecoderContext pCtx) { · 294 unmodified lines
295295 #endif //LONG_TERM_REF
296296 pCtx->bNewSeqBegin = true;
297297 pCtx->bDecErrorConedFlag = false; //default: decoder normal status
298+ pCtx->bPrintFrameErrorTraceFlag = true;
299+ pCtx->iIgnoredErrorInfoPacketCount = 0;
298300 }
299301
300302 /*!
@@ -312,6 +314,8 @@ void WelsCloseDecoder (PWelsDecoderContext pCtx) { · 11 unmodified lines
312314 #else
313315 pCtx->bReferenceLostAtT0Flag = false;
314316 #endif
317+ pCtx->bNewSeqBegin = false;
318+ pCtx->bPrintFrameErrorTraceFlag = false;
315319 }
316320
317321 /*!

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