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.
This commit is contained in:
Tim-Philipp Müller 2014-08-21 16:24:06 +01:00
parent 5ae3d68590
commit 334a71506c

View file

@ -686,6 +686,7 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux)
gst_active_streams_free (demux->client); gst_active_streams_free (demux->client);
if (!gst_dash_demux_setup_mpdparser_streams (demux, demux->client)) { if (!gst_dash_demux_setup_mpdparser_streams (demux, demux->client)) {
GST_MPD_CLIENT_UNLOCK (demux->client);
return FALSE; return FALSE;
} }