[MPlayer-cvslog] r34545 - trunk/libmpcodecs/vf_lavc.c

nicodvb subversion at mplayerhq.hu
Thu Jan 12 14:36:21 CET 2012


Author: nicodvb
Date: Thu Jan 12 14:36:20 2012
New Revision: 34545

Log:
propagate the pts to vf_next_put_image(); fixes playback with -correct-pts  when reencoding is necessary

Modified:
   trunk/libmpcodecs/vf_lavc.c

Modified: trunk/libmpcodecs/vf_lavc.c
==============================================================================
--- trunk/libmpcodecs/vf_lavc.c	Thu Jan 12 11:39:37 2012	(r34544)
+++ trunk/libmpcodecs/vf_lavc.c	Thu Jan 12 14:36:20 2012	(r34545)
@@ -115,7 +115,7 @@ static int put_image(struct vf_instance 
 
     dmpi->planes[0]=(unsigned char*)&vf->priv->pes;
 
-    return vf_next_put_image(vf,dmpi, MP_NOPTS_VALUE);
+    return vf_next_put_image(vf,dmpi, pts);
 }
 
 //===========================================================================//


More information about the MPlayer-cvslog mailing list