mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 13:17:13 +00:00
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:
parent
b003b6c286
commit
27ba43d143
@ -120,7 +120,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
|||||||
int W = mpi->w, H = mpi->h;
|
int W = mpi->w, H = mpi->h;
|
||||||
|
|
||||||
mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
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);
|
mpi->w,mpi->h);
|
||||||
|
|
||||||
if(!dmpi) return 0;
|
if(!dmpi) return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user