[SCM] libav/experimental: Reset frame_last_pts on flush (and thus also at start) fixes issue558 and probably others.

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 967030eb24074919f0363e53823cf54d89d12dda
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Feb 1 12:27:26 2010 +0000

    Reset frame_last_pts on flush (and thus also at start)
    fixes issue558 and probably others.
    
    Originally committed as revision 21590 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffplay.c b/ffplay.c
index 8517e80..122459a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1362,6 +1362,8 @@ 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;
+
             continue;
         }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list