diff options
author | wm4 <wm4@nowhere> | 2019-12-11 18:50:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-11 18:50:37 +0100 |
commit | 59cdfe50b261e06bdf04d2f7e2e18f6c19cbb26d (patch) | |
tree | 3d9ce8767e9152e3f425cb92ec42a37a197a1cca | |
parent | b6fa63b01e608ddb17c7e9278b772c537a4a95aa (diff) | |
download | mpv-59cdfe50b261e06bdf04d2f7e2e18f6c19cbb26d.tar.bz2 mpv-59cdfe50b261e06bdf04d2f7e2e18f6c19cbb26d.tar.xz |
rpi: destroy fullscreen change handling
Get rid of the legacy VOCTRL (which will be removed later). I'm not sure
what exactly fullscreen was supposed to do (toggling between using the
entire display, and what --geometry forced?), but I don't care, just get
rid of the VOCTRL. PRs to fix regressions caused by this will be
accepted, but personally I don't care since this is excessively fringe
and obscure.
-rw-r--r-- | video/out/opengl/context_rpi.c | 3 | ||||
-rw-r--r-- | video/out/vo_rpi.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/video/out/opengl/context_rpi.c b/video/out/opengl/context_rpi.c index 570d43d99c..d91723b392 100644 --- a/video/out/opengl/context_rpi.c +++ b/video/out/opengl/context_rpi.c @@ -303,9 +303,6 @@ static int rpi_control(struct ra_ctx *ctx, int *events, int request, void *arg) case VOCTRL_SCREENSHOT_WIN: *(struct mp_image **)arg = take_screenshot(ctx); return VO_TRUE; - case VOCTRL_FULLSCREEN: - recreate_dispmanx(ctx); - return VO_TRUE; case VOCTRL_CHECK_EVENTS: if (atomic_fetch_and(&p->reload_display, 0)) { MP_WARN(ctx, "Recovering from display mode switch...\n"); diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 2065151b1d..94bb30efe6 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -725,11 +725,6 @@ static int control(struct vo *vo, uint32_t request, void *data) struct priv *p = vo->priv; switch (request) { - case VOCTRL_FULLSCREEN: - if (p->renderer_enabled) - set_geometry(vo); - vo->want_redraw = true; - return VO_TRUE; case VOCTRL_SET_PANSCAN: if (p->renderer_enabled) resize(vo); |