[Mplayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c,1.15,1.16
Sascha Sommer CVS
faust3 at mplayerhq.hu
Fri Oct 17 19:11:35 CEST 2003
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv13151/vidix/drivers
Modified Files:
nvidia_vid.c
Log Message:
fixed colorkey enabling/disabling
Index: nvidia_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/nvidia_vid.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- nvidia_vid.c 17 Oct 2003 11:26:36 -0000 1.15
+++ nvidia_vid.c 17 Oct 2003 17:10:48 -0000 1.16
@@ -847,13 +847,13 @@
{
info->use_colorkey = 0;
printf("[nvidia_vid] colorkeying disabled\n");
- return 0;
}
-
+ else {
info->use_colorkey = 1;
info->vidixcolorkey = ((grkey->ckey.red<<16)|(grkey->ckey.green<<8)|grkey->ckey.blue);
printf("[nvidia_vid] set colorkey 0x%x\n",info->vidixcolorkey);
- rivatv_overlay_colorkey(info,info->vidixcolorkey);
+ }
+ rivatv_overlay_start(info,0);
return 0;
}
More information about the MPlayer-cvslog
mailing list