Mercurial > mplayer.hg
changeset 36874:33a4b27e9f29
Add VOCTRL_GUISUPPORT.
The video output driver supports it depending on priv->X.
author | ib |
---|---|
date | Sun, 02 Mar 2014 21:13:19 +0000 |
parents | 05efbb5ab47e |
children | 50687cb6d3be |
files | libvo/vo_sdl.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Sun Mar 02 21:12:33 2014 +0000 +++ b/libvo/vo_sdl.c Sun Mar 02 21:13:19 2014 +0000 @@ -1333,6 +1333,8 @@ return get_image(data); case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data)); + case VOCTRL_GUISUPPORT: + return priv->X ? VO_TRUE : VO_FALSE; case VOCTRL_FULLSCREEN: if (priv->surface->flags & SDL_FULLSCREEN) { set_video_mode(priv->windowsize.w, priv->windowsize.h, priv->bpp, priv->sdlflags);