Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 16 files). Show all
Unified · Split
| @@ -341,7 +341,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 340 unmodified lines | ||
| 341 | 341 | pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | − WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType); | |
| 344 | + WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d", pCtx->eVideoType); | |
| 345 | 345 | |
| 346 | 346 | return 0; |
| 347 | 347 | } |
| @@ -596,7 +596,7 @@ int32_t DecoderSetCsp (PWelsDecoderContext pCtx, const int32_t kiColorFormat) { · 248 unmodified lines | ||
| 596 | 596 | |
| 597 | 597 | //For now, support only videoFormatI420! |
| 598 | 598 | if (kiColorFormat != (int32_t) videoFormatI420) { |
| 599 | − WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "Support I420 output only for now! Change to I420...\n"); | |
| 599 | + WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "Support I420 output only for now! Change to I420..."); | |
| 600 | 600 | pCtx->pParam->eOutputColorFormat = pCtx->eOutputColorFormat = videoFormatI420; |
| 601 | 601 | } |
| 602 | 602 | |
| @@ -620,7 +620,7 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 17 unmodified lines | ||
| 620 | 620 | iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used |
| 621 | 621 | if (ERR_NONE != iErr) { |
| 622 | 622 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 623 | − "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n"); | |
| 623 | + "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure."); | |
| 624 | 624 | pCtx->iErrorCode = dsOutOfMemory; |
| 625 | 625 | return iErr; |
| 626 | 626 | } |
| @@ -628,7 +628,7 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 1 unmodified line | ||
| 628 | 628 | iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight); |
| 629 | 629 | if (ERR_NONE != iErr) { |
| 630 | 630 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 631 | − "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n"); | |
| 631 | + "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure."); | |
| 632 | 632 | pCtx->iErrorCode = dsOutOfMemory; |
| 633 | 633 | } |
| 634 | 634 | |