[MPlayer-cvslog] CVS: main/libvo vo_directx.c,1.41,1.42
Joey Parrish CVS
syncmail at mplayerhq.hu
Tue Dec 21 21:31:41 CET 2004
CVS change done by Joey Parrish CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv17993/libvo
Modified Files:
vo_directx.c
Log Message:
added colorkey support for vo_directx.
Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- vo_directx.c 28 Oct 2004 01:15:52 -0000 1.41
+++ vo_directx.c 21 Dec 2004 20:31:39 -0000 1.42
@@ -79,6 +79,7 @@
extern int vo_ontop;
extern int vo_rootwin;
extern int vidmode;
+extern int vo_colorkey;
/*****************************************************************************
* DirectDraw GUIDs.
@@ -978,6 +979,7 @@
monitor_rect.right=GetSystemMetrics(SM_CXSCREEN);
monitor_rect.bottom=GetSystemMetrics(SM_CYSCREEN);
+ windowcolor = vo_colorkey;
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.lpfnWndProc = WndProc;
wc.cbClsExtra = 0;
More information about the MPlayer-cvslog
mailing list