From 191cdbd31ed6f4a8fbbd55a6ec81db7dcc1d457c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Jan 2017 16:47:53 +0100 Subject: 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). --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index d7510a79fe..d7ff507524 100644 --- a/player/core.h +++ b/player/core.h @@ -550,6 +550,7 @@ void update_screensaver_state(struct MPContext *mpctx); // scripting.c struct mp_scripting { + const char *name; // e.g. "lua script" const char *file_ext; // e.g. "lua" int (*load)(struct mpv_handle *client, const char *filename); }; -- cgit v1.2.3