mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
adaptivedemux2: Drop segment lock on stream_seek error.
If stream_seek() fails, make sure to drop the segment lock before bailing out. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
44d3751d68
commit
ceda805abb
1 changed files with 1 additions and 0 deletions
|
@ -2316,6 +2316,7 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux,
|
|||
stream, gst_flow_get_name (flow_ret));
|
||||
|
||||
GST_ADAPTIVE_SCHEDULER_UNLOCK (demux);
|
||||
GST_ADAPTIVE_DEMUX_SEGMENT_UNLOCK (demux);
|
||||
|
||||
GST_API_UNLOCK (demux);
|
||||
gst_event_unref (event);
|
||||
|
|
Loading…
Reference in a new issue