From e4d52330affa61457e0b2676c3730110a8ebaa1d Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Feb 2013 20:41:09 +0100 Subject: vo_xv: fix green border on the right --- video/out/vo_xv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/vo_xv.c') diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index b5fd34991e..a8f95bb87b 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -598,6 +598,7 @@ static void allocate_xvimage(struct vo *vo, int foo) XSync(x11->display, False); } struct mp_image img = get_xv_buffer(vo, foo); + img.w = aligned_w; mp_image_clear(&img, 0, 0, img.w, img.h); return; } -- cgit v1.2.3