mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 04:37:54 +00:00
oops forgot to commit that
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6963 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
583d7c5fd2
commit
bde8e4f1ae
@ -215,8 +215,7 @@ static int config(struct vf_instance_s* vf,
|
||||
|
||||
static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||
if(mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change
|
||||
if(!(mpi->flags&MP_IMGFLAG_ACCEPT_STRIDE) && mpi->imgfmt!=vf->priv->outfmt)
|
||||
return; // colorspace differ
|
||||
if(mpi->imgfmt!=vf->priv->outfmt) return; // colorspace differ
|
||||
// ok, we can do pp in-place (or pp disabled):
|
||||
vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt,
|
||||
mpi->type, mpi->flags, mpi->w, mpi->h);
|
||||
|
Loading…
Reference in New Issue
Block a user