summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 927c8488e2..b9dc232a79 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -1105,6 +1105,7 @@ int demux_control(demuxer_t *demuxer, int cmd, void *arg)
pthread_mutex_lock(&in->lock);
if (!in->threading)
update_cache(in);
+ pthread_cond_signal(&in->wakeup);
int cr = cached_demux_control(in, cmd, arg);
if (cr != DEMUXER_CTRL_DONTKNOW) {
pthread_mutex_unlock(&in->lock);