From f46e188ec5952693c08d0572558a13f9a92504f8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 Jan 2014 21:23:07 +0100 Subject: vo_wayland: fix confusion of video and window sizes --- video/out/vo_wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video') diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c index 3ab9246553..8794b2ec99 100644 --- a/video/out/vo_wayland.c +++ b/video/out/vo_wayland.c @@ -595,8 +595,8 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags) struct priv *p = vo->priv; mp_image_unrefp(&p->original_image); - p->width = vo->dwidth; - p->height = vo->dheight; + p->width = fmt->w; + p->height = fmt->h; p->in_format = *fmt; struct supported_format *sf; -- cgit v1.2.3