diff options
author | wm4 <wm4@nowhere> | 2015-05-01 19:22:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-01 19:22:35 +0200 |
commit | 94a3a76ee31bdc00255dc231e99be9f9ad6f38fa (patch) | |
tree | 6e683eb487f48e9b5dad953e342bfaa014ff91e4 /video | |
parent | e185887ba0da9967337541ebd71e244fb2833c4f (diff) |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_rpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |