diff options
author | wm4 <wm4@nowhere> | 2017-01-14 16:47:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-14 17:13:50 +0100 |
commit | 191cdbd31ed6f4a8fbbd55a6ec81db7dcc1d457c (patch) | |
tree | e7b08ed21a24559ddb64dc013b3a2cbe2991d258 /player/core.h | |
parent | ddaab3349b2826acd6ca1fa82b5f1d7d5944cd72 (diff) | |
download | mpv-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/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); }; |