[Mplayer-cvslog] CVS: main/libmpcodecs vf_flip.c,1.6,1.7
Arpi of Ize
arpi at mplayerhq.hu
Tue Sep 3 22:26:47 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv31930
Modified Files:
vf_flip.c
Log Message:
bgr8 palette fixed
Index: vf_flip.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_flip.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vf_flip.c 23 Jun 2002 21:08:31 -0000 1.6
+++ vf_flip.c 3 Sep 2002 20:26:32 -0000 1.7
@@ -65,7 +65,8 @@
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);
}
More information about the MPlayer-cvslog
mailing list