From 475f4d8d4bb1578c75e9ede5f3da8e2816459c10 Mon Sep 17 00:00:00 2001 From: David Bolt <> Date: Wed, 21 May 2008 17:44:51 +0000 Subject: Print timestamp with increased precision. Patch by David Bolt Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 8d77742df1..4944dd6267 100644 --- 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) -- cgit v1.2.3