summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-16 15:51:56 +0200
committerwm4 <wm4@nowhere>2016-09-16 15:51:56 +0200
commitccf3458f8aeca2bbf16b00ebf90f9da99c86bebd (patch)
treeb3fc192ea68a535ef7a1f29a19ae49982b2ae5ee /player/command.c
parentc47ae06ed80e9493d92924282b417536669ec3d0 (diff)
downloadmpv-ccf3458f8aeca2bbf16b00ebf90f9da99c86bebd.tar.bz2
mpv-ccf3458f8aeca2bbf16b00ebf90f9da99c86bebd.tar.xz
player: fix a missed wakeup
ytdl.lua stopped working after commit 8716c2e8, because finishing the hook did not wakeup the playloop correctly.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
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;