[MPlayer-cvslog] r27946 - trunk/libvo/vo_xvmc.c

reimar subversion at mplayerhq.hu
Mon Nov 17 14:12:02 CET 2008


Author: reimar
Date: Mon Nov 17 14:12:01 2008
New Revision: 27946

Log:
Remove a useless XGetGeometry call, the X11 event handling already
updates vo_dwidth/vo_dheight.


Modified:
   trunk/libvo/vo_xvmc.c

Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c	(original)
+++ trunk/libvo/vo_xvmc.c	Mon Nov 17 14:12:01 2008
@@ -1064,11 +1064,6 @@ int e=vo_x11_check_events(mDisplay);
    {
       e |= VO_EVENT_EXPOSE;
 
-      XGetGeometry( mDisplay,vo_window,&mRoot,&drwX,&drwY,&vo_dwidth,&vo_dheight,
-                   &drwBorderWidth,&drwDepth );
-      mp_msg(MSGT_VO,MSGL_V, "[xvmc] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,
-              vo_dwidth,vo_dheight );
-
       calc_drwXY(&drwX, &drwY);
    }
    if ( e & VO_EVENT_EXPOSE )



More information about the MPlayer-cvslog mailing list