From f0ee4e876650f7406d41eed439963d66826d8487 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 May 2014 23:18:57 +0200 Subject: 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. --- video/out/vo_wayland.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3