mirror of https://github.com/mpv-player/mpv
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:
parent
c47ae06ed8
commit
ccf3458f8a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue