vo_xv: fix green border on the right

This commit is contained in:
wm4 2013-02-14 20:41:09 +01:00
parent ac82c73224
commit e4d52330af
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}