From 3a3ee96cd131366ff76c3133956e49a1eccfd6a2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 14 Dec 2008 14:45:57 +0000 Subject: [PATCH] Fix files with fps between 0.5 and 0.1. Fixes issue749 Originally committed as revision 16123 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index f7ff48d2e8..a802cc1483 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1024,7 +1024,7 @@ static void video_refresh_timer(void *opaque) /* compute nominal delay */ delay = vp->pts - is->frame_last_pts; - if (delay <= 0 || delay >= 2.0) { + if (delay <= 0 || delay >= 10.0) { /* if incorrect delay, use previous one */ delay = is->frame_last_delay; }