changeset 3230:ab26f1c6c5d3 libavformat

Print duration with higher precision. patch from Herv Flores, herve.flores free fr
author diego
date Wed, 16 Apr 2008 06:46:54 +0000
parents 510fab17efc3
children 956fc24819df
files utils.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Tue Apr 15 22:22:49 2008 +0000
+++ b/utils.c	Wed Apr 16 06:46:54 2008 +0000
@@ -2634,8 +2634,8 @@
             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");
         }