changeset 34457:220497708307

propagate the pts to vf_next_put_image(); fixes playback with -correct-pts when reencoding is necessary
author nicodvb
date Thu, 12 Jan 2012 13:36:20 +0000
parents d04da1858866
children 1e84148527ab
files libmpcodecs/vf_lavc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_lavc.c	Thu Jan 12 10:39:37 2012 +0000
+++ b/libmpcodecs/vf_lavc.c	Thu Jan 12 13:36:20 2012 +0000
@@ -115,7 +115,7 @@
 
     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);
 }
 
 //===========================================================================//