[MPlayer-cvslog] r36517 - trunk/libmpcodecs/dec_video.c
reimar
subversion at mplayerhq.hu
Mon Nov 18 20:54:22 CET 2013
Author: reimar
Date: Mon Nov 18 20:54:22 2013
New Revision: 36517
Log:
Fix pts handling with -framedrop.
Modified:
trunk/libmpcodecs/dec_video.c
Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c Sun Nov 17 00:31:56 2013 (r36516)
+++ trunk/libmpcodecs/dec_video.c Mon Nov 18 20:54:22 2013 (r36517)
@@ -424,6 +424,8 @@ void *decode_video(sh_video_t *sh_video,
sh_video->num_buffered_pts++;
}
}
+ if (correct_pts && mpi && drop_frame && sh_video->num_buffered_pts > 0)
+ sh_video->num_buffered_pts--;
// some codecs are broken, and doesn't restore MMX state :(
// it happens usually with broken/damaged files.
More information about the MPlayer-cvslog
mailing list