player: fix a missed wakeup

ytdl.lua stopped working after commit 8716c2e8, because finishing the
hook did not wakeup the playloop correctly.
This commit is contained in:
wm4 2016-09-16 15:51:56 +02:00
parent c47ae06ed8
commit ccf3458f8a
1 changed files with 1 additions and 0 deletions

View File

@ -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;