# HG changeset patch # User arpi # Date 1020551687 0 # Node ID 157174abe70acd1a7982bac36d06dbe12afe19d2 # Parent 4396ead317d3f82fcc72744e693642d51c02b185 missing if(use_gui) - found by Nilmoni Deb diff -r 4396ead317d3 -r 157174abe70a libvo/vo_xmga.c --- a/libvo/vo_xmga.c Sat May 04 21:26:45 2002 +0000 +++ b/libvo/vo_xmga.c Sat May 04 22:34:47 2002 +0000 @@ -299,7 +299,7 @@ #endif vo_gc=XCreateGC( mDisplay,vo_window,GCForeground,&wGCV ); #ifdef HAVE_NEW_GUI - } else guiGetEvent( guiSetShVideo,0 ); + } else if(use_gui) guiGetEvent( guiSetShVideo,0 ); #endif set_window(); diff -r 4396ead317d3 -r 157174abe70a libvo/vo_xv.c --- a/libvo/vo_xv.c Sat May 04 21:26:45 2002 +0000 +++ b/libvo/vo_xv.c Sat May 04 22:34:47 2002 +0000 @@ -452,7 +452,7 @@ } #endif #ifdef HAVE_NEW_GUI - } else guiGetEvent( guiSetShVideo,0 ); + } else if(use_gui) guiGetEvent( guiSetShVideo,0 ); #endif mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw scaling\n",xv_port );