diff options
author | 2009-07-07 19:35:54 +0200 | |
---|---|---|
committer | 2009-07-07 21:49:42 +0300 | |
commit | 87366694d82c8d4c7f0bc210e6baa0ccd651d0c2 (patch) | |
tree | 57c6a283eed4934c6041658effab17435ef2ff1c /libvo/vo_x11.c | |
parent | a2037a2effbd4622d0e8336245a9b14c3f886bde (diff) |
Remove the internal GUI
The GUI is badly designed and too closely coupled to the internal
details of other code. The GUI code is in bad shape and unmaintained
for years. There is no indication that anyone would maintain it in the
future either. Even if someone did volunteer to implement a better
integrated GUI having the current code in the tree probably wouldn't
help much. So get rid of it.
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index c890a312e6..d1120ae927 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -56,11 +56,6 @@ static int CompletionType = -1; #include "mp_msg.h" #include "help_mp.h" -#ifdef CONFIG_GUI -#include "gui/interface.h" -#include "mplayer.h" -#endif - static const vo_info_t info = { "X11 ( XImage/Shm )", "x11", @@ -357,11 +352,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, image_width = (width + 7) & (~7); image_height = height; -#ifdef CONFIG_GUI - if (use_gui) - guiGetEvent(guiSetShVideo, 0); // the GUI will set up / resize the window - else -#endif { #ifdef CONFIG_XF86VM if (vm) @@ -676,8 +666,6 @@ static int control(uint32_t request, void *data) return query_format(*((uint32_t *) data)); case VOCTRL_GET_IMAGE: return get_image(data); - case VOCTRL_GUISUPPORT: - return VO_TRUE; case VOCTRL_FULLSCREEN: vo_x11_fullscreen(); vo_x11_clearwindow(mDisplay, vo_window); |