[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.42,1.43

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Dec 11 16:34:23 CET 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv22881/libvo

Modified Files:
	vo_x11.c 
Log Message:
mf bug fixed.

Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- vo_x11.c	29 Nov 2001 20:19:17 -0000	1.42
+++ vo_x11.c	11 Dec 2001 15:34:21 -0000	1.43
@@ -70,7 +70,6 @@
 static XImage *myximage;
 static int depth,bpp,mode;
 static XWindowAttributes attribs;
-static int X_already_started=0;
 
 //static int vo_dwidth,vo_dheight;
 
@@ -190,7 +189,6 @@
   else
 #endif   
    {
-    if ( X_already_started ) return -1;
     if( !vo_init() ) return 0; // Can't open X11
 
     hint.x=0;
@@ -426,7 +424,6 @@
    XSelectInput( mDisplay,mywindow,StructureNotifyMask | KeyPressMask );
    saver_off(mDisplay);
   }
- X_already_started++;
  return 0;
 }
 
@@ -446,7 +443,6 @@
 #endif
  XDestroyWindow( mDisplay,mywindow );
  XCloseDisplay( mDisplay );
- X_already_started=0;
 }
 
 static void Display_Image( XImage *myximage,uint8_t *ImageData )




More information about the MPlayer-cvslog mailing list