[SCM] libav/experimental: Reset frame_last_delay to 0. This avoids a few ms delay for the first frame after a seek in theory.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:15 UTC 2013


The following commit has been merged in the experimental branch:
commit f7119e42e11f4cac07ad30ddd21b6f77e7f65978
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Feb 1 12:31:28 2010 +0000

    Reset frame_last_delay to 0.
    This avoids a few ms delay for the first frame after a seek in theory.
    
    Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffplay.c b/ffplay.c
index 206a763..6bf76a7 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1363,7 +1363,7 @@ static int video_thread(void *arg)
             is->last_dts_for_fault_detection=
             is->last_pts_for_fault_detection= INT64_MIN;
             is->frame_last_pts= AV_NOPTS_VALUE;
-            is->frame_last_delay = 40e-3;
+            is->frame_last_delay = 0;
 
             continue;
         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list