Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-09-01 03:59:45 +0400
committerMichael Niedermayer <michaelni@gmx.at>2007-09-01 03:59:45 +0400
commitec2fc00d628e5511abe3c80eec62b7449af5ccad (patch)
tree9a445b5ecd5d4f8b3b082baca2d79159c8fe67f4 /ffplay.c
parent11f81e6a07d9837da9412615a9dda84f5bfb3e36 (diff)
fix 1fps videos
Originally committed as revision 10276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index dcd75ffbb7..f39fdb1343 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1012,7 +1012,7 @@ static void video_refresh_timer(void *opaque)
/* 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;
}