[Mplayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c,1.16,1.17
Sascha Sommer CVS
faust3 at mplayerhq.hu
Tue Oct 21 19:16:04 CEST 2003
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv31782
Modified Files:
nvidia_vid.c
Log Message:
update overlay only if it is configured
Index: nvidia_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/nvidia_vid.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- nvidia_vid.c 17 Oct 2003 17:10:48 -0000 1.16
+++ nvidia_vid.c 21 Oct 2003 17:15:34 -0000 1.17
@@ -853,7 +853,7 @@
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_start(info,0);
+ if(info->d_width && info->d_height)rivatv_overlay_start(info,0);
return 0;
}
More information about the MPlayer-cvslog
mailing list