summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-06 19:23:14 +0100
committerwm4 <wm4@nowhere>2020-03-06 19:23:14 +0100
commit2337fa4e0213993398d36cb3222633766d677dfd (patch)
tree2cde81d55f16a61c1512ff537001c2e34e6acf97 /player/client.c
parent7a76b577d85ddc8f9e255b1a1c195ee88b76a7d8 (diff)
downloadmpv-2337fa4e0213993398d36cb3222633766d677dfd.tar.bz2
mpv-2337fa4e0213993398d36cb3222633766d677dfd.tar.xz
command: remove legacy hook API
Hopefully nothing uses this. (I know one exception, but, well, what can I do.)
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c
index 3122b880df..ffb0665c40 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1728,7 +1728,7 @@ int mpv_hook_add(mpv_handle *ctx, uint64_t reply_userdata,
const char *name, int priority)
{
lock_core(ctx);
- mp_hook_add(ctx->mpctx, ctx->name, name, reply_userdata, priority, false);
+ mp_hook_add(ctx->mpctx, ctx->name, name, reply_userdata, priority);
unlock_core(ctx);
return 0;
}