summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 23:18:57 +0200
committerwm4 <wm4@nowhere>2014-05-06 23:18:57 +0200
commitf0ee4e876650f7406d41eed439963d66826d8487 (patch)
tree83b613658fc8419f0cbd230f0076059d523cfe60
parentb51664c04a2b150085c0bc7d96f60241ee339328 (diff)
downloadmpv-f0ee4e876650f7406d41eed439963d66826d8487.tar.bz2
mpv-f0ee4e876650f7406d41eed439963d66826d8487.tar.xz
vo_wayland: always assume resize on reconfigure
It doesn't look like vo_wayland_config() necessarily sets this flag, so it seems safer to trigger an explicit resize. This accounts for the case when playing a new file with different size than the one before.
-rw-r--r--video/out/vo_wayland.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index d9b953b7b9..54376d7e6d 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -807,8 +807,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
vo_wayland_config(vo, flags);
- if (p->wl->window.events & VO_EVENT_RESIZE)
- resize(p);
+ resize(p);
return 0;
}