summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-04 22:34:47 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-04 22:34:47 +0000
commit835b369e70c93a5433a5a18340b838f6fcab6150 (patch)
tree70a23c4e2976c67c6dc78bae63670b27dbd164c1 /libvo
parent17d676a2437a71a04b91ebd10de6384c778c183b (diff)
downloadmpv-835b369e70c93a5433a5a18340b838f6fcab6150.tar.bz2
mpv-835b369e70c93a5433a5a18340b838f6fcab6150.tar.xz
missing if(use_gui) - found by Nilmoni Deb <ndeb@ece.cmu.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5976 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xmga.c2
-rw-r--r--libvo/vo_xv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index f5ca3f1bfb..5ad5d923fd 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -299,7 +299,7 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3
#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 --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index a73ea940f3..4f920627f4 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -452,7 +452,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
}
#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 );