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 | 295 | #endif //LONG_TERM_REF |
| 296 | 296 | pCtx->bNewSeqBegin = true; |
| 297 | 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 | 314 | #else |
| 313 | 315 | pCtx->bReferenceLostAtT0Flag = false; |
| 314 | 316 | #endif |
| 317 | + pCtx->bNewSeqBegin = false; | |
| 318 | + pCtx->bPrintFrameErrorTraceFlag = false; | |
| 315 | 319 | } |
| 316 | 320 | |
| 317 | 321 | /*! |