mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
vo_wayland: fix confusion of video and window sizes
This commit is contained in:
parent
2e66f4b89b
commit
f46e188ec5
@ -595,8 +595,8 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
|
|||||||
struct priv *p = vo->priv;
|
struct priv *p = vo->priv;
|
||||||
mp_image_unrefp(&p->original_image);
|
mp_image_unrefp(&p->original_image);
|
||||||
|
|
||||||
p->width = vo->dwidth;
|
p->width = fmt->w;
|
||||||
p->height = vo->dheight;
|
p->height = fmt->h;
|
||||||
p->in_format = *fmt;
|
p->in_format = *fmt;
|
||||||
|
|
||||||
struct supported_format *sf;
|
struct supported_format *sf;
|
||||||
|
Loading…
Reference in New Issue
Block a user