[MPlayer-cvslog] r20672 - trunk/libmpcodecs/vf_ass.c

reimar subversion at mplayerhq.hu
Sat Nov 4 21:48:15 CET 2006


Author: reimar
Date: Sat Nov  4 21:48:15 2006
New Revision: 20672

Modified:
   trunk/libmpcodecs/vf_ass.c

Log:
ass renderer absolutely needs readable target mpi.


Modified: trunk/libmpcodecs/vf_ass.c
==============================================================================
--- trunk/libmpcodecs/vf_ass.c	(original)
+++ trunk/libmpcodecs/vf_ass.c	Sat Nov  4 21:48:15 2006
@@ -107,7 +107,7 @@
 	    
 	// width never changes, always try full DR
 	mpi->priv = vf->dmpi = vf_get_image(vf->next, mpi->imgfmt,
-			mpi->type, mpi->flags, 
+			mpi->type, mpi->flags | MP_IMGFLAG_READABLE, 
 			vf->priv->outw,
 			vf->priv->outh);
 
@@ -176,7 +176,7 @@
 
 	// hope we'll get DR buffer:
 	vf->dmpi = vf_get_image(vf->next, vf->priv->outfmt,
-			MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
+			MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_READABLE,
 			vf->priv->outw, vf->priv->outh);
 
 	// copy mpi->dmpi...



More information about the MPlayer-cvslog mailing list