summaryrefslogtreecommitdiffstats
path: root/player/client.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-24 21:52:16 +0200
committerwm4 <wm4@nowhere>2014-10-24 21:57:02 +0200
commit55e3dab7ebd707a94995696aa1098725f3c35521 (patch)
tree3b0bc9c4bde577869468d4e76e90fcda5c1567a4 /player/client.h
parentb330f16fed152ea401c13b3b453604392aaf6bc5 (diff)
downloadmpv-55e3dab7ebd707a94995696aa1098725f3c35521.tar.bz2
mpv-55e3dab7ebd707a94995696aa1098725f3c35521.tar.xz
command: finish hook execution if client fails
Translation: if the (to be added) youtube-dl Lua script crashes, don't wait forever when opening something.
Diffstat (limited to 'player/client.h')
-rw-r--r--player/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.h b/player/client.h
index db248e0cef..14822504c9 100644
--- a/player/client.h
+++ b/player/client.h
@@ -16,6 +16,7 @@ void mp_clients_destroy(struct MPContext *mpctx);
int mp_clients_num(struct MPContext *mpctx);
bool mp_clients_all_initialized(struct MPContext *mpctx);
+bool mp_client_exists(struct MPContext *mpctx, const char *client_name);
void mp_client_broadcast_event(struct MPContext *mpctx, int event, void *data);
int mp_client_send_event(struct MPContext *mpctx, const char *client_name,
int event, void *data);