History

remove "\n" which shoudl be added by the trace sink

ruil2 committed 12 years ago

Commit 40e952f1 parent bac551116 files · +249 −249Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+4−4
@@ -341,7 +341,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 340 unmodified lines
341341 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;
342342 }
343343
344− WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);
344+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d", pCtx->eVideoType);
345345
346346 return 0;
347347 }
@@ -596,7 +596,7 @@ int32_t DecoderSetCsp (PWelsDecoderContext pCtx, const int32_t kiColorFormat) { · 248 unmodified lines
596596
597597 //For now, support only videoFormatI420!
598598 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...");
600600 pCtx->pParam->eOutputColorFormat = pCtx->eOutputColorFormat = videoFormatI420;
601601 }
602602
@@ -620,7 +620,7 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 17 unmodified lines
620620 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used
621621 if (ERR_NONE != iErr) {
622622 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
623− "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n");
623+ "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.");
624624 pCtx->iErrorCode = dsOutOfMemory;
625625 return iErr;
626626 }
@@ -628,7 +628,7 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 1 unmodified line
628628 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);
629629 if (ERR_NONE != iErr) {
630630 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
631− "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n");
631+ "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.");
632632 pCtx->iErrorCode = dsOutOfMemory;
633633 }
634634

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