From 527550dfe63c32ab168ac3d955bf73ddc0ec8096 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 May 2015 19:22:35 +0200 Subject: 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 94a3a76ee31bdc00255dc231e99be9f9ad6f38fa) --- video/out/vo_rpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 6e0e92e7fb..f144deb4b7 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -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; } -- cgit v1.2.3