summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
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;
}