mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue