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:
wm4 2015-05-01 19:22:35 +02:00
parent e185887ba0
commit 94a3a76ee3
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}