mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
matroskademux: Don't unlock stream lock without locking it first
https://bugzilla.gnome.org/show_bug.cgi?id=702167
This commit is contained in:
parent
51c9f7989f
commit
e89a48616b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue