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

reimar subversion at mplayerhq.hu
Sat Nov 15 16:50:47 CET 2008


Author: reimar
Date: Sat Nov 15 16:50:47 2008
New Revision: 27914

Log:
Cosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.


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 16:50:47 2008
@@ -304,7 +304,6 @@ static int config(uint32_t width, uint32
 {
 // int screen;
     int fullscreen = 0;
-    int vm = 0;
 
 // int interval, prefer_blank, allow_exp, nothing;
     unsigned int fg, bg;
@@ -315,6 +314,7 @@ static int config(uint32_t width, uint32
     const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
 
 #ifdef CONFIG_XF86VM
+    int vm = 0;
     unsigned int modeline_width, modeline_height;
     static uint32_t vm_width;
     static uint32_t vm_height;
@@ -324,6 +324,7 @@ static int config(uint32_t width, uint32
     old_vo_dwidth = -1;
     old_vo_dheight = -1;
 
+    int_pause = 0;
     if (!title)
         title = "MPlayer X11 (XImage/Shm) render";
 
@@ -333,13 +334,14 @@ static int config(uint32_t width, uint32
 
     if (flags & (VOFLAG_FULLSCREEN|VOFLAG_MODESWITCHING))
         fullscreen = 1;
+#ifdef CONFIG_XF86VM
     if (flags & VOFLAG_MODESWITCHING)
         vm = 1;
+#endif
     if (flags & VOFLAG_FLIPPING)
         Flip_Flag = 1;
     zoomFlag = flags & VOFLAG_SWSCALE;
 
-    int_pause = 0;
 // if(!fullscreen) zoomFlag=1; //it makes no sense to avoid zooming on windowd mode
 
 //printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight );



More information about the MPlayer-cvslog mailing list