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.
This commit is contained in:
wm4 2014-05-06 23:18:57 +02:00
parent b51664c04a
commit f0ee4e8766
1 changed files with 1 additions and 2 deletions

View File

@ -807,7 +807,6 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
vo_wayland_config(vo, flags); vo_wayland_config(vo, flags);
if (p->wl->window.events & VO_EVENT_RESIZE)
resize(p); resize(p);
return 0; return 0;