mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
bgr8 palette fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7259 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d438958d33
commit
93b526e483
@ -65,7 +65,8 @@ static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||
vf->priv->dmpi->planes[2]=mpi->planes[2]+
|
||||
mpi->stride[2]*((mpi->height>>mpi->chroma_y_shift)-1);
|
||||
vf->priv->dmpi->stride[2]=-mpi->stride[2];
|
||||
}
|
||||
} else
|
||||
vf->priv->dmpi->planes[1]=mpi->planes[1]; // passthru bgr8 palette!!!
|
||||
|
||||
vf_next_put_image(vf,vf->priv->dmpi);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user