diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 388e1666d3..2a717f6eb9 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -2090,8 +2090,10 @@ next: gst_pad_pause_task (demux->common.sinkpad); } /* ouch */ - if (!update) + if (!update) { + GST_PAD_STREAM_LOCK (demux->common.sinkpad); goto exit; + } /* now grab the stream lock so that streaming cannot continue, for * non flushing seeks when the element is in PAUSED this could block