From 687e026da82e1e367a844a20caaef731416560b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 14 Feb 2022 12:57:44 +0100 Subject: [PATCH] tsdemux: unlock mutex on -1 start_offfset Closing #1013 Change-Id: I3c7f046a533d48f5200e3c3762c2ea536378649c Part-of: --- subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c index 315f442..6dfda5a 100644 --- a/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c +++ b/subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c @@ -993,6 +993,7 @@ gst_ts_demux_do_seek (MpegTSBase * base, GstEvent * event) if (G_UNLIKELY (start_offset == -1)) { GST_WARNING_OBJECT (demux, "Couldn't convert start position to an offset"); + g_mutex_unlock (&demux->lock); goto done; } -- 2.7.4