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_core.cpp (1 of 5 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+8−4
@@ -63,14 +63,18 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 62 unmodified lines
6363 #else
6464 pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010
6565 #endif //LONG_TERM_REF
66− WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,
67− "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d.\n",
66+ if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) {
67+ pCtx->bPrintFrameErrorTraceFlag = true;
68+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,
69+ "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d, ignored error packet:%d.\n",
6870 kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset,
69− pCtx->sFrameCrop.iBottomOffset);
71+ pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount);
72+ pCtx->iIgnoredErrorInfoPacketCount = 0;
73+ }
7074 }
7175
7276 if (pCtx->iTotalNumMbRec != kiTotalNumMbInCurLayer) {
73− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
77+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_DEBUG,
7478 "DecodeFrameConstruction():::iTotalNumMbRec:%d, total_num_mb_sps:%d, cur_layer_mb_width:%d, cur_layer_mb_height:%d \n",
7579 pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight);
7680 bFrameCompleteFlag = false; //return later after output buffer is done

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