mirror of https://github.com/mpv-player/mpv
vo_xv: fix green border on the right
This commit is contained in:
parent
ac82c73224
commit
e4d52330af
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue