Needs the previous mpi (pmpi), so request a readable one and request

the following filters not to modify it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16157 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-07-31 20:58:52 +00:00
parent b003b6c286
commit 27ba43d143
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
int W = mpi->w, H = mpi->h;
mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_STRIDE,
MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_STRIDE |
MP_IMGFLAG_PRESERVE | MP_IMGFLAG_READABLE,
mpi->w,mpi->h);
if(!dmpi) return 0;