tsdemux: unlock mutex on -1 start_offfset

Closing #1013

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1694>
This commit is contained in:
Stéphane Cerveau 2022-02-14 12:57:44 +01:00 committed by GStreamer Marge Bot
parent 27246ebeb0
commit a4b83810fe

View file

@ -976,6 +976,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;
}