[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.43,1.44

Michael Niedermayer CVS michael at mplayerhq.hu
Sat Aug 16 21:22:35 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv9423

Modified Files:
	vf_scale.c 
Log Message:
-brightness && -vf scale fix


Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- vf_scale.c	1 Jun 2003 21:59:27 -0000	1.43
+++ vf_scale.c	16 Aug 2003 19:22:11 -0000	1.44
@@ -277,6 +277,7 @@
     int brightness, contrast, saturation, srcRange, dstRange;
     vf_equalizer_t *eq;
 
+  if(vf->priv->ctx)
     switch(request){
     case VFCTRL_GET_EQUALIZER:
 	r= sws_getColorspaceDetails(vf->priv->ctx, &inv_table, &srcRange, &table, &dstRange, &brightness, &contrast, &saturation);



More information about the MPlayer-cvslog mailing list