mirror of https://github.com/mpv-player/mpv
remove nonsense code left from copy&paste from another filter (it was never used)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15069 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc7fa51e6d
commit
f5fd8bb72a
|
@ -23,11 +23,6 @@ static int config(struct vf_instance_s* vf,
|
||||||
}
|
}
|
||||||
|
|
||||||
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||||
if(mpi->flags&MP_IMGFLAG_DIRECT){
|
|
||||||
// we've used DR, so we're ready...
|
|
||||||
return vf_next_put_image(vf,(mp_image_t*)mpi->priv);
|
|
||||||
}
|
|
||||||
|
|
||||||
vf->dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
vf->dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
||||||
MP_IMGTYPE_EXPORT, MP_IMGFLAG_ACCEPT_STRIDE,
|
MP_IMGTYPE_EXPORT, MP_IMGFLAG_ACCEPT_STRIDE,
|
||||||
mpi->width, mpi->height/2);
|
mpi->width, mpi->height/2);
|
||||||
|
|
Loading…
Reference in New Issue