[xiph-commits] r16101 - trunk/ffmpeg2theora/src

j at svn.xiph.org j at svn.xiph.org
Sat Jun 13 01:04:20 PDT 2009


Author: j
Date: 2009-06-13 01:04:20 -0700 (Sat, 13 Jun 2009)
New Revision: 16101

Modified:
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
print duration in float

Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-06-10 23:11:53 UTC (rev 16100)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-06-13 08:04:20 UTC (rev 16101)
@@ -2186,7 +2186,7 @@
                 }
 
                 if (info.frontend) {
-                    fprintf(info.frontend, "\nf2t ;duration: %d;\n", (int)(convert->context->duration / AV_TIME_BASE));
+                    fprintf(info.frontend, "\nf2t ;duration: %f;\n", (float)convert->context->duration / AV_TIME_BASE);
                     fflush(info.frontend);
 
                 }



More information about the commits mailing list