ass renderer absolutely needs readable target mpi.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20672 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-11-04 20:48:15 +00:00
parent 2de69adf98
commit 1fd844ab06
1 changed files with 2 additions and 2 deletions

View File

@ -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...