mirror of
https://github.com/mpv-player/mpv
synced 2025-02-03 13:41:49 +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.
This commit is contained in:
parent
e185887ba0
commit
94a3a76ee3
@ -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