[FFmpeg-cvslog] r12847 - trunk/libavformat/utils.c

diego subversion
Wed Apr 16 08:46:54 CEST 2008


Author: diego
Date: Wed Apr 16 08:46:54 2008
New Revision: 12847

Log:
Print duration with higher precision.
patch from Herv? Flores, herve.flores free fr


Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Wed Apr 16 08:46:54 2008
@@ -2634,8 +2634,8 @@ void dump_format(AVFormatContext *ic,
             secs %= 60;
             hours = mins / 60;
             mins %= 60;
-            av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%01d", hours, mins, secs,
-                   (10 * us) / AV_TIME_BASE);
+            av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%02d", hours, mins, secs,
+                   (100 * us) / AV_TIME_BASE);
         } else {
             av_log(NULL, AV_LOG_INFO, "N/A");
         }




More information about the ffmpeg-cvslog mailing list