diff libvo/vo_xv.c @ 5975:157174abe70a

missing if(use_gui) - found by Nilmoni Deb <ndeb@ece.cmu.edu>
author arpi
date Sat, 04 May 2002 22:34:47 +0000
parents caac20b1ca79
children 25f0bf24fcf8
line wrap: on
line diff
--- 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 );