Commit 737342c8 authored by michael's avatar michael

Fix files with fps between 0.5 and 0.1.

Fixes issue749


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16123 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 413db6f6
...@@ -1024,7 +1024,7 @@ static void video_refresh_timer(void *opaque) ...@@ -1024,7 +1024,7 @@ static void video_refresh_timer(void *opaque)
/* compute nominal delay */ /* compute nominal delay */
delay = vp->pts - is->frame_last_pts; 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 */ /* if incorrect delay, use previous one */
delay = is->frame_last_delay; delay = is->frame_last_delay;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment