[MPlayer-cvslog] r33412 - trunk/libvo/vo_x11.c
reimar
subversion at mplayerhq.hu
Sat May 7 21:52:22 CEST 2011
Author: reimar
Date: Sat May 7 21:52:22 2011
New Revision: 33412
Log:
Remove unused variables and code initializing them.
Modified:
trunk/libvo/vo_x11.c
Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c Sat May 7 21:49:26 2011 (r33411)
+++ trunk/libvo/vo_x11.c Sat May 7 21:52:22 2011 (r33412)
@@ -310,10 +310,7 @@ static int config(uint32_t width, uint32
// int screen;
// int interval, prefer_blank, allow_exp, nothing;
- unsigned int fg, bg;
Colormap theCmap;
- XSetWindowAttributes xswa;
- unsigned long xswamask;
const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
#ifdef CONFIG_XF86VM
@@ -360,24 +357,9 @@ static int config(uint32_t width, uint32
vo_vm_switch();
}
#endif
- bg = WhitePixel(mDisplay, mScreen);
- fg = BlackPixel(mDisplay, mScreen);
theCmap = vo_x11_create_colormap(&vinfo);
- xswa.background_pixel = 0;
- xswa.border_pixel = 0;
- xswa.colormap = theCmap;
- xswamask = CWBackPixel | CWBorderPixel | CWColormap;
-
-#ifdef CONFIG_XF86VM
- if (vm)
- {
- xswa.override_redirect = True;
- xswamask |= CWOverrideRedirect;
- }
-#endif
-
vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight,
flags, theCmap, "x11", title);
if (WinID > 0)
More information about the MPlayer-cvslog
mailing list