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:
parent
5ae3d68590
commit
334a71506c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user