[Mplayer-cvslog] CVS: main/libmpcodecs vf_hue.c,1.2,1.3

Michael Niedermayer CVS syncmail at mplayerhq.hu
Thu Sep 2 21:48:45 CEST 2004


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv29550

Modified Files:
	vf_hue.c 
Log Message:
hue filter bugfix by ("James Crowson" <jbcrowso at ncsu dot edu>)


Index: vf_hue.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_hue.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_hue.c	28 Oct 2003 13:51:04 -0000	1.2
+++ vf_hue.c	2 Sep 2004 19:48:41 -0000	1.3
@@ -76,7 +76,7 @@
 		vf->priv->buf[1] = malloc(mpi->stride[2]*mpi->h >> mpi->chroma_y_shift);
 	}
 	
-	if (vf->priv->hue == 0){
+	if (vf->priv->hue == 0 && vf->priv->saturation == 1){
 		dmpi->planes[1] = mpi->planes[1];
 		dmpi->planes[2] = mpi->planes[2];
 	}else {




More information about the MPlayer-cvslog mailing list