mirror of https://github.com/mpv-player/mpv
vBlur reads from dmpi, so request a readable one
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16156 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
91c282cf33
commit
b003b6c286
|
@ -137,7 +137,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||||
int ch= mpi->h >> mpi->chroma_y_shift;
|
int ch= mpi->h >> mpi->chroma_y_shift;
|
||||||
|
|
||||||
mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
||||||
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
|
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_READABLE,
|
||||||
mpi->w,mpi->h);
|
mpi->w,mpi->h);
|
||||||
|
|
||||||
assert(mpi->flags&MP_IMGFLAG_PLANAR);
|
assert(mpi->flags&MP_IMGFLAG_PLANAR);
|
||||||
|
|
Loading…
Reference in New Issue