[MPlayer-cvslog] r23680 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Wed Jun 27 15:09:39 CEST 2007


Author: reimar
Date: Wed Jun 27 15:09:39 2007
New Revision: 23680

Log:
Fix vo_x11_clearwindow_part: x position is one less to avoid not clearing
a line in case of rounding error, so width must be one larger, too.
y-case is already correct.


Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	(original)
+++ trunk/libvo/x11_common.c	Wed Jun 27 15:09:39 2007
@@ -1347,7 +1347,7 @@ void vo_x11_clearwindow_part(Display * m
         XFillRectangle(mDisplay, vo_window, f_gc, 0, left_ov, left_ov2,
                        img_height);
         XFillRectangle(mDisplay, vo_window, f_gc, u_dwidth - left_ov2 - 1,
-                       left_ov, left_ov2, img_height);
+                       left_ov, left_ov2 + 1, img_height);
     }
 
     XFlush(mDisplay);



More information about the MPlayer-cvslog mailing list