[FFmpeg-cvslog] r21590 - trunk/ffplay.c

michael subversion
Mon Feb 1 13:27:26 CET 2010


Author: michael
Date: Mon Feb  1 13:27:26 2010
New Revision: 21590

Log:
Reset frame_last_pts on flush (and thus also at start)
fixes issue558 and probably others.

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Mon Feb  1 13:22:12 2010	(r21589)
+++ trunk/ffplay.c	Mon Feb  1 13:27:26 2010	(r21590)
@@ -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;
         }
 



More information about the ffmpeg-cvslog mailing list