diff options
Diffstat (limited to 'libvo/vo_vdpau.c')
-rw-r--r-- | libvo/vo_vdpau.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 31bfba4eae..597edeb8b3 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -43,11 +43,10 @@ #include "aspect.h" #include "sub.h" #include "subopt-helper.h" +#include "font_load.h" #include "libavcodec/vdpau.h" -#include "gui/interface.h" - #include "libavutil/common.h" #include "libavutil/mathematics.h" @@ -555,11 +554,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, visible_buf = 0; -#ifdef CONFIG_GUI - if (use_gui) - guiGetEvent(guiSetShVideo, 0); // the GUI will set up / resize our window - else -#endif { #ifdef CONFIG_XF86VM if (vm) @@ -1196,8 +1190,6 @@ static int control(uint32_t request, void *data) return get_image(data); case VOCTRL_DRAW_IMAGE: return draw_image(data); - case VOCTRL_GUISUPPORT: - return VO_TRUE; case VOCTRL_BORDER: vo_x11_border(); resize(); |