mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
vo_rpi: update renderer size on display size changes too
(Not sure why it worked without this when I tested the previous
changes.)
Untested, but should be fine. This is equivalent what is done on e.g.
panscan changes.
(cherry picked from commit 94a3a76ee3
)
This commit is contained in:
parent
275694a002
commit
527550dfe6
@ -533,6 +533,8 @@ static int control(struct vo *vo, uint32_t request, void *data)
|
||||
if (atomic_load(&p->update_display)) {
|
||||
atomic_store(&p->update_display, false);
|
||||
update_display_size(vo);
|
||||
if (p->renderer_enabled)
|
||||
resize(vo);
|
||||
}
|
||||
return VO_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user