summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-20 15:31:25 +0200
committerwm4 <wm4@nowhere>2016-09-20 15:44:11 +0200
commitbf385e1140069fb1c6d41161aece0fe099513ac0 (patch)
treebebb5b971fa22a2d15992cecbd9a501b09b2e1b5 /player/lua.c
parentfe872f56884a3a5c506d49d9601713d0e6de1973 (diff)
downloadmpv-bf385e1140069fb1c6d41161aece0fe099513ac0.tar.bz2
mpv-bf385e1140069fb1c6d41161aece0fe099513ac0.tar.xz
player: kill associated OSD and key bindings when removing a script
The former was done already for Lua scripts, but move it to the generic code.
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c
index 964ba7c07a..1c3d526349 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -391,7 +391,6 @@ static int load_lua(struct mpv_handle *client, const char *fname)
r = 0;
error_out:
- osd_set_external(ctx->mpctx->osd, client, 0, 0, NULL); // remove overlay
mp_resume_all(client);
if (ctx->state)
lua_close(ctx->state);