summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-14 16:47:53 +0100
committerwm4 <wm4@nowhere>2017-01-14 17:13:50 +0100
commit191cdbd31ed6f4a8fbbd55a6ec81db7dcc1d457c (patch)
treee7b08ed21a24559ddb64dc013b3a2cbe2991d258 /player/lua.c
parentddaab3349b2826acd6ca1fa82b5f1d7d5944cd72 (diff)
downloadmpv-191cdbd31ed6f4a8fbbd55a6ec81db7dcc1d457c.tar.bz2
mpv-191cdbd31ed6f4a8fbbd55a6ec81db7dcc1d457c.tar.xz
scripting: minor logging improvements
Give scripting backends a proper name, instead of calling everything "scripts". Log client exit directly in client.c, as that is more general (doesn't change actual output).
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua.c b/player/lua.c
index e76dc46fca..ce9387bdae 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -1331,6 +1331,7 @@ static void add_functions(struct script_ctx *ctx)
}
const struct mp_scripting mp_scripting_lua = {
+ .name = "lua script",
.file_ext = "lua",
.load = load_lua,
};