[MPlayer-cvslog] r27942 - trunk/libvo/vo_xvmc.c
reimar
subversion at mplayerhq.hu
Sun Nov 16 18:16:09 CET 2008
Author: reimar
Date: Sun Nov 16 18:16:08 2008
New Revision: 27942
Log:
Get rid of (besides useless assignments) unused XSizeHints variable
in vo_xvmc.
Modified:
trunk/libvo/vo_xvmc.c
Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c (original)
+++ trunk/libvo/vo_xvmc.c Sun Nov 16 18:16:08 2008
@@ -454,7 +454,6 @@ int i,mode_id,rez;
int numblocks,blocks_per_macroblock;//bpmb we have 6,8,12
//from vo_xv
-XSizeHints hint;
XVisualInfo vinfo;
XGCValues xgcv;
XSetWindowAttributes xswa;
@@ -646,10 +645,6 @@ skip_surface_allocation:
else
#endif
{
- hint.x = vo_dx;
- hint.y = vo_dy;
- hint.width = d_width;
- hint.height = d_height;
#ifdef CONFIG_XF86VM
if ( vm )
{
@@ -657,8 +652,6 @@ skip_surface_allocation:
}
else
#endif
- hint.flags = PPosition | PSize /* | PBaseSize */;
- hint.base_width = hint.width; hint.base_height = hint.height;
XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs);
depth=attribs.depth;
if (depth != 15 && depth != 16 && depth != 24 && depth != 32) depth = 24;
More information about the MPlayer-cvslog
mailing list