From 1fd844ab0607130ee7689025740930abe5ddee6c Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 4 Nov 2006 20:48:15 +0000 Subject: ass renderer absolutely needs readable target mpi. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20672 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_ass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c index c9acd155d7..fc2c06b4fc 100644 --- a/libmpcodecs/vf_ass.c +++ b/libmpcodecs/vf_ass.c @@ -107,7 +107,7 @@ static void get_image(struct vf_instance_s* vf, mp_image_t *mpi) // 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 @@ static int prepare_image(struct vf_instance_s* vf, mp_image_t *mpi) // 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... -- cgit v1.2.3