From ccf3458f8aeca2bbf16b00ebf90f9da99c86bebd Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 16 Sep 2016 15:51:56 +0200 Subject: player: fix a missed wakeup ytdl.lua stopped working after commit 8716c2e8, because finishing the hook did not wakeup the playloop correctly. --- player/command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index e0fbc23d06..381fc3e781 100644 --- a/player/command.c +++ b/player/command.c @@ -177,6 +177,7 @@ void mp_hook_run(struct MPContext *mpctx, char *client, char *type) if (h->active && strcmp(h->type, type) == 0) { h->active = false; found_current = true; + mp_wakeup_core(mpctx); } } else if (strcmp(h->type, type) == 0) { index = n; -- cgit v1.2.3