Print timestamp with increased precision.
authorDavid Bolt <>
Wed, 21 May 2008 17:44:51 +0000 (17:44 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 21 May 2008 17:44:51 +0000 (17:44 +0000)
Patch by David Bolt

Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 8d77742..4944dd6 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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)