diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2014-08-21 16:24:06 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-08-21 16:25:55 +0100 |
commit | 334a71506cf0513f788e381ad9e3564ec5c11f0f (patch) | |
tree | 7c22c8774c77269fd89f61f020625f32a75c4f0a | |
parent | 5ae3d6859096eb253515cbd81ac9b97b1da617ff (diff) |
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.
-rw-r--r-- | ext/dash/gstdashdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index e188774ee..ffb1c748c 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; } |