summaryrefslogtreecommitdiffstats
path: root/player/client.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/client.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/client.c')
-rw-r--r--player/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index 0b97945da2..88926f3544 100644
--- a/player/client.c
+++ b/player/client.c
@@ -359,6 +359,8 @@ void mpv_detach_destroy(mpv_handle *ctx)
if (!ctx)
return;
+ MP_VERBOSE(ctx, "Exiting...\n");
+
// reserved_events equals the number of asynchronous requests that weren't
// yet replied. In order to avoid that trying to reply to a removed client
// causes a crash, block until all asynchronous requests were served.