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:
David Bolt 2008-05-21 17:44:51 +00:00 committed by Benoit Fouet
parent 3ceac114ee
commit 475f4d8d4b

View File

@ -1066,7 +1066,7 @@ static void print_report(AVFormatContext **output_files,
bitrate = (double)(total_size * 8) / ti1 / 1000.0;
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);
if (verbose > 1)