[FFmpeg-cvslog] r10276 - trunk/ffplay.c

michael subversion
Sat Sep 1 01:59:46 CEST 2007


Author: michael
Date: Sat Sep  1 01:59:45 2007
New Revision: 10276

Log:
fix 1fps videos


Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Sat Sep  1 01:59:45 2007
@@ -1012,7 +1012,7 @@ static void video_refresh_timer(void *op
 
             /* compute nominal delay */
             delay = vp->pts - is->frame_last_pts;
-            if (delay <= 0 || delay >= 1.0) {
+            if (delay <= 0 || delay >= 2.0) {
                 /* if incorrect delay, use previous one */
                 delay = is->frame_last_delay;
             }




More information about the ffmpeg-cvslog mailing list