diff libvo/vo_xv.c @ 31315:ad274a5b093b

For vos that support the new libvo API (provide UPDATE_SCREENINFO), avoid duplicating some Gui-related code.
author reimar
date Sun, 13 Jun 2010 12:04:13 +0000
parents 77bdb012aaae
children fbe5c829c69b
line wrap: on
line diff
--- a/libvo/vo_xv.c	Sun Jun 13 11:51:41 2010 +0000
+++ b/libvo/vo_xv.c	Sun Jun 13 12:04:13 2010 +0000
@@ -59,10 +59,6 @@
 
 #include "input/input.h"
 
-#ifdef CONFIG_GUI
-#include "gui/interface.h"
-#endif
-
 #include "libavutil/common.h"
 
 static const vo_info_t info = {
@@ -229,11 +225,6 @@
             return -1;
     }
 
-#ifdef CONFIG_GUI
-    if (use_gui)
-        guiGetEvent(guiSetShVideo, 0);  // the GUI will set up / resize the window
-    else
-#endif
     {
 #ifdef CONFIG_XF86VM
         if (vm)