diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-29 17:27:16 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-29 17:27:16 +0000 |
commit | 9e5096e8fb9c57f473f3dbdafc3738fee8ccf8d1 (patch) | |
tree | ac0f68d6d4aabd5e3bc3caf418c56550eac6efab /libvo | |
parent | 701978744feaccea7feb1b634fb2ea65b700ec85 (diff) | |
download | mpv-9e5096e8fb9c57f473f3dbdafc3738fee8ccf8d1.tar.bz2 mpv-9e5096e8fb9c57f473f3dbdafc3738fee8ccf8d1.tar.xz |
vo_window bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1753 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_x11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index bd3e0c8ff3..6f21f547eb 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -166,8 +166,10 @@ printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight ); 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 |