summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-14 20:41:09 +0100
committerwm4 <wm4@nowhere>2013-02-14 20:41:09 +0100
commite4d52330affa61457e0b2676c3730110a8ebaa1d (patch)
tree793d8ed864e211dd2ecf5db0ea13f155d783eaf7 /video
parentac82c73224399fe3d2468e33a620e2bd43fafe16 (diff)
downloadmpv-e4d52330affa61457e0b2676c3730110a8ebaa1d.tar.bz2
mpv-e4d52330affa61457e0b2676c3730110a8ebaa1d.tar.xz
vo_xv: fix green border on the right
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
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;
}