diff options
author | wm4 <wm4@nowhere> | 2014-01-24 21:23:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-24 21:23:07 +0100 |
commit | f46e188ec5952693c08d0572558a13f9a92504f8 (patch) | |
tree | 0466759aac25c0f931852d1b1a1af7663b39789a /video/out | |
parent | 2e66f4b89b525f15a709df95ac86cccbcab6bd49 (diff) | |
download | mpv-f46e188ec5952693c08d0572558a13f9a92504f8.tar.bz2 mpv-f46e188ec5952693c08d0572558a13f9a92504f8.tar.xz |
vo_wayland: fix confusion of video and window sizes
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_wayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |