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
@ -2090,8 +2090,10 @@ next:
|
|||||||
gst_pad_pause_task (demux->common.sinkpad);
|
gst_pad_pause_task (demux->common.sinkpad);
|
||||||
}
|
}
|
||||||
/* ouch */
|
/* ouch */
|
||||||
if (!update)
|
if (!update) {
|
||||||
|
GST_PAD_STREAM_LOCK (demux->common.sinkpad);
|
||||||
goto exit;
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
/* now grab the stream lock so that streaming cannot continue, for
|
/* now grab the stream lock so that streaming cannot continue, for
|
||||||
* non flushing seeks when the element is in PAUSED this could block
|
* non flushing seeks when the element is in PAUSED this could block
|
||||||
|
Loading…
x
Reference in New Issue
Block a user