summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index d63b2f732d..b7082ed44c 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -46,7 +46,7 @@ Buffer allocation:
#include "input/input.h"
#include "mp_fifo.h"
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
@@ -221,7 +221,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
if (!ctx->xv_format)
return -1;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if (use_gui)
guiGetEvent(guiSetShVideo, 0); // let the GUI to setup/resize our window
else