[MPlayer-cvslog] r36970 - trunk/libvo/vo_sdl.c

ib subversion at mplayerhq.hu
Sun Mar 2 22:13:19 CET 2014


Author: ib
Date: Sun Mar  2 22:13:19 2014
New Revision: 36970

Log:
Add VOCTRL_GUISUPPORT.

The video output driver supports it depending on priv->X.

Modified:
   trunk/libvo/vo_sdl.c

Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c	Sun Mar  2 22:12:33 2014	(r36969)
+++ trunk/libvo/vo_sdl.c	Sun Mar  2 22:13:19 2014	(r36970)
@@ -1333,6 +1333,8 @@ static int control(uint32_t request, voi
       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);


More information about the MPlayer-cvslog mailing list