diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-07-07 19:35:54 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 21:49:42 +0300 |
commit | 87366694d82c8d4c7f0bc210e6baa0ccd651d0c2 (patch) | |
tree | 57c6a283eed4934c6041658effab17435ef2ff1c /libvo/vo_directx.c | |
parent | a2037a2effbd4622d0e8336245a9b14c3f886bde (diff) | |
download | mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.bz2 mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.xz |
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_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 37a12567dc..a51a4314e5 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -39,10 +39,6 @@ #include "mp_fifo.h" #include "sub.h" -#ifdef CONFIG_GUI -#include "gui/interface.h" -#endif - #ifndef WM_XBUTTONDOWN # define WM_XBUTTONDOWN 0x020B # define WM_XBUTTONUP 0x020C @@ -1292,11 +1288,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin if(format != primary_image_format)nooverlay = 0; window_aspect= (float)d_image_width / (float)d_image_height; -#ifdef CONFIG_GUI - if(use_gui){ - guiGetEvent(guiSetShVideo, 0); - } -#endif /*release all directx objects*/ if (g_cc != NULL)g_cc->lpVtbl->Release(g_cc); g_cc=NULL; |