mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
adaptivedemux: do not try to unlock not locked mutex
A misplaced unlock was causing an assertion for playback with a set stop time
This commit is contained in:
parent
aba9d86d08
commit
d30ec9f9f7
1 changed files with 1 additions and 2 deletions
|
@ -1898,7 +1898,6 @@ gst_adaptive_demux_stream_download_loop (GstAdaptiveDemuxStream * stream)
|
|||
if (gst_adaptive_demux_has_next_period (demux)) {
|
||||
gst_adaptive_demux_advance_period (demux);
|
||||
ret = GST_FLOW_OK;
|
||||
goto end_of_manifest;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1977,8 +1976,8 @@ gst_adaptive_demux_stream_download_loop (GstAdaptiveDemuxStream * stream)
|
|||
break;
|
||||
}
|
||||
|
||||
end_of_manifest:
|
||||
GST_MANIFEST_UNLOCK (demux);
|
||||
end_of_manifest:
|
||||
if (G_UNLIKELY (ret == GST_FLOW_EOS)) {
|
||||
gst_adaptive_demux_stream_push_event (stream, gst_event_new_eos ());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue