[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.26,1.27
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Aug 29 19:27:18 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv12641
Modified Files:
vo_x11.c
Log Message:
vo_window bug fixed
Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- vo_x11.c 29 Aug 2001 15:09:19 -0000 1.26
+++ vo_x11.c 29 Aug 2001 17:27:16 -0000 1.27
@@ -166,8 +166,10 @@
if ( depth != 15 && depth != 16 && depth != 24 && depth != 32 ) depth=24;
XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo );
+#ifdef HAVE_NEW_GUI
if ( vo_window != None ) { mywindow=vo_window; mygc=vo_gc; }
else
+#endif
{
if ( X_already_started ) return -1;
if( !vo_init() ) return 0; // Can't open X11
More information about the MPlayer-cvslog
mailing list