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:
1 parent
c47ae06ed8
commit
ccf3458f8a
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user