Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 5 files). Show all
Unified · Split
| @@ -295,6 +295,8 @@ void WelsOpenDecoder (PWelsDecoderContext pCtx) { · 294 unmodified lines | |||
| 295 | #endif //LONG_TERM_REF | 295 | #endif //LONG_TERM_REF |
| 296 | pCtx->bNewSeqBegin = true; | 296 | pCtx->bNewSeqBegin = true; |
| 297 | pCtx->bDecErrorConedFlag = false; //default: decoder normal status | 297 | pCtx->bDecErrorConedFlag = false; //default: decoder normal status |
| 298 | pCtx->bPrintFrameErrorTraceFlag = true; | ||
| 299 | pCtx->iIgnoredErrorInfoPacketCount = 0; | ||
| 298 | } | 300 | } |
| 299 | 301 | ||
| 300 | /*! | 302 | /*! |
| @@ -312,6 +314,8 @@ void WelsCloseDecoder (PWelsDecoderContext pCtx) { · 11 unmodified lines | |||
| 312 | #else | 314 | #else |
| 313 | pCtx->bReferenceLostAtT0Flag = false; | 315 | pCtx->bReferenceLostAtT0Flag = false; |
| 314 | #endif | 316 | #endif |
| 317 | pCtx->bNewSeqBegin = false; | ||
| 318 | pCtx->bPrintFrameErrorTraceFlag = false; | ||
| 315 | } | 319 | } |
| 316 | 320 | ||
| 317 | /*! | 321 | /*! |