From 334a71506cf0513f788e381ad9e3564ec5c11f0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 21 Aug 2014 16:24:06 +0100 Subject: [PATCH] dashdemux: fix abort in error code path with newer glib Don't forget to unlock mpd client again when erroring out. Fixes abort when g_mutex_clear() is called on a locked mutex. --- ext/dash/gstdashdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index e188774..ffb1c74 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -686,6 +686,7 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux) gst_active_streams_free (demux->client); if (!gst_dash_demux_setup_mpdparser_streams (demux, demux->client)) { + GST_MPD_CLIENT_UNLOCK (demux->client); return FALSE; } -- 2.7.4