[SCM] libav/experimental: Fix files with fps between 0.5 and 0.1. Fixes issue749

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:33:22 UTC 2013


The following commit has been merged in the experimental branch:
commit 3a3ee96cd131366ff76c3133956e49a1eccfd6a2
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Sun Dec 14 14:45:57 2008 +0000

    Fix files with fps between 0.5 and 0.1.
    Fixes issue749
    
    Originally committed as revision 16123 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffplay.c b/ffplay.c
index f7ff48d..a802cc1 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;
             }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list