mirror of https://git.ffmpeg.org/ffmpeg.git
Print timestamp with increased precision.
Patch by David Bolt Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3ceac114ee
commit
475f4d8d4b
2
ffmpeg.c
2
ffmpeg.c
|
@ -1066,7 +1066,7 @@ static void print_report(AVFormatContext **output_files,
|
||||||
bitrate = (double)(total_size * 8) / ti1 / 1000.0;
|
bitrate = (double)(total_size * 8) / ti1 / 1000.0;
|
||||||
|
|
||||||
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf),
|
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf),
|
||||||
"size=%8.0fkB time=%0.1f bitrate=%6.1fkbits/s",
|
"size=%8.0fkB time=%0.2f bitrate=%6.1fkbits/s",
|
||||||
(double)total_size / 1024, ti1, bitrate);
|
(double)total_size / 1024, ti1, bitrate);
|
||||||
|
|
||||||
if (verbose > 1)
|
if (verbose > 1)
|
||||||
|
|
Loading…
Reference in New Issue