Use \t or plain spaces instead of literal tabs in printf formats
This commit is contained in:
parent
baf93a340e
commit
ec99a3bcc5
@ -299,7 +299,7 @@ void H264DecodeInstance (ISVCDecoder* pDecoder, const char* kpH264FileName, cons
|
||||
|
||||
dElapsed = iTotal / 1e6;
|
||||
fprintf (stderr, "-------------------------------------------------------\n");
|
||||
fprintf (stderr, "iWidth: %d\nheight: %d\nFrames: %d\ndecode time: %f sec\nFPS: %f fps\n",
|
||||
fprintf (stderr, "iWidth:\t\t%d\nheight:\t\t%d\nFrames:\t\t%d\ndecode time:\t%f sec\nFPS:\t\t%f fps\n",
|
||||
iWidth, iHeight, iFrameCount, dElapsed, (iFrameCount * 1.0) / dElapsed);
|
||||
fprintf (stderr, "-------------------------------------------------------\n");
|
||||
|
||||
|
@ -919,7 +919,7 @@ int ProcessEncoding (ISVCEncoder* pPtrEnc, int argc, char** argv, bool bConfigFi
|
||||
|
||||
if (iActualFrameEncodedCount > 0) {
|
||||
double dElapsed = iTotal / 1e6;
|
||||
printf ("Width: %d\nHeight: %d\nFrames: %d\nencode time: %f sec\nFPS: %f fps\n",
|
||||
printf ("Width:\t\t%d\nHeight:\t\t%d\nFrames:\t\t%d\nencode time:\t%f sec\nFPS:\t\t%f fps\n",
|
||||
sSvcParam.iPicWidth, sSvcParam.iPicHeight,
|
||||
iActualFrameEncodedCount, dElapsed, (iActualFrameEncodedCount * 1.0) / dElapsed);
|
||||
#if defined (WINDOWS_PHONE)
|
||||
|
@ -2276,7 +2276,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf
|
||||
}
|
||||
}
|
||||
#if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED)
|
||||
fprintf (stderr, "cur_frame : %d iCurrIdD : %d\n ",
|
||||
fprintf (stderr, "cur_frame : %d\tiCurrIdD : %d\n ",
|
||||
dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFrameNum, iCurrIdD);
|
||||
#endif//#if !CODEC_FOR_TESTBED
|
||||
iLastIdD = iCurrIdD;
|
||||
|
Loading…
x
Reference in New Issue
Block a user