summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demux/demux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c
index a100149a48..55242caec6 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -777,6 +777,8 @@ void demux_changed(demuxer_t *demuxer, int events)
demux_copy(in->d_buffer, demuxer);
+ if (in->wakeup_cb)
+ in->wakeup_cb(in->wakeup_cb_ctx);
pthread_mutex_unlock(&in->lock);
}