[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.29,1.30
Alex Beregszaszi
alex at mplayerhq.hu
Sun Apr 21 00:58:18 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.131,1.132 mp_image.h,1.8,1.9 vf.c,1.18,1.19 vf.h,1.8,1.9
- Next message: [Mplayer-cvslog] CVS: main/loader win32.c,1.48,1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv2811
Modified Files:
vo_xvidix.c
Log Message:
minor changes
Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- vo_xvidix.c 16 Apr 2002 17:41:29 -0000 1.29
+++ vo_xvidix.c 20 Apr 2002 22:58:15 -0000 1.30
@@ -51,6 +51,7 @@
/* Colorkey handling */
static XGCValues mGCV;
static uint32_t fgColor;
+static uint32_t bgColor;
static vidix_grkey_t gr_key;
/* VIDIX related */
@@ -153,7 +154,7 @@
/* mDrawColorKey: */
/* fill drawable with specified color */
- XSetBackground( mDisplay,vo_gc,0 );
+ XSetBackground( mDisplay,vo_gc,bgColor );
XClearWindow( mDisplay,vo_window );
XSetForeground(mDisplay, vo_gc, fgColor);
XFillRectangle(mDisplay, vo_window, vo_gc, drwX, drwY, drwWidth,
@@ -179,7 +180,7 @@
// if (title)
// free(title);
- title = strdup("MPlayer VIDIX X11 Overlay");
+ title = "MPlayer VIDIX X11 Overlay";
image_height = height;
image_width = width;
@@ -234,6 +235,7 @@
X_already_started++;
/* from xmga.c */
+ bgColor = 0x0L;
switch(vo_depthonscreen)
{
case 32:
@@ -443,6 +445,8 @@
switch (request) {
case VOCTRL_QUERY_FORMAT:
return query_format(*((uint32_t*)data));
+ case VOCTRL_GUISUPPORT:
+ return VO_TRUE;
case VOCTRL_FULLSCREEN:
vo_x11_fullscreen();
return VO_TRUE;
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.131,1.132 mp_image.h,1.8,1.9 vf.c,1.18,1.19 vf.h,1.8,1.9
- Next message: [Mplayer-cvslog] CVS: main/loader win32.c,1.48,1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list