Mercurial > mplayer.hg
changeset 3458:735ffdce1b03
mf bug fixed.
author | pontscho |
---|---|
date | Tue, 11 Dec 2001 15:34:21 +0000 |
parents | ca39dc9f879b |
children | 73b5692d1653 |
files | libvo/vo_x11.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_x11.c Tue Dec 11 14:56:21 2001 +0000 +++ b/libvo/vo_x11.c Tue Dec 11 15:34:21 2001 +0000 @@ -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 )