From ceda805abbd283374a790dde5ade26912af253af Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 28 Dec 2022 00:41:44 +1100 Subject: [PATCH] adaptivedemux2: Drop segment lock on stream_seek error. If stream_seek() fails, make sure to drop the segment lock before bailing out. Part-of: --- .../gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c index 36ee337eda..1696961c68 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c @@ -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);