summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 3d61444ee2..5b4b3ec4c2 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -476,7 +476,7 @@ void demux_add_packet(struct sh_stream *stream, demux_packet_t *dp)
}
}
- if (!ds->selected || in->seeking || drop) {
+ if (!ds->selected || ds->need_refresh || in->seeking || drop) {
pthread_mutex_unlock(&in->lock);
talloc_free(dp);
return;