[MPlayer-cvslog] r27913 - trunk/libvo/vo_x11.c

reimar subversion at mplayerhq.hu
Sat Nov 15 15:24:33 CET 2008


Author: reimar
Date: Sat Nov 15 15:24:32 2008
New Revision: 27913

Log:
Cosmetics for vo_x11 control() to make it more similar to vo_xv.c


Modified:
   trunk/libvo/vo_x11.c

Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c	(original)
+++ trunk/libvo/vo_x11.c	Sat Nov 15 15:24:32 2008
@@ -761,10 +761,14 @@ static int control(uint32_t request, voi
             return int_pause = 0;
         case VOCTRL_QUERY_FORMAT:
             return query_format(*((uint32_t *) data));
-        case VOCTRL_GUISUPPORT:
-            return VO_TRUE;
         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);
+            return VO_TRUE;
         case VOCTRL_SET_EQUALIZER:
             {
                 va_list ap;
@@ -790,12 +794,6 @@ static int control(uint32_t request, voi
         case VOCTRL_ONTOP:
             vo_x11_ontop();
             return VO_TRUE;
-        case VOCTRL_FULLSCREEN:
-            {
-                vo_x11_fullscreen();
-                vo_x11_clearwindow(mDisplay, vo_window);
-            }
-            return VO_TRUE;
         case VOCTRL_UPDATE_SCREENINFO:
             update_xinerama_info();
             return VO_TRUE;



More information about the MPlayer-cvslog mailing list