mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
dashsink: Unlock when failed to get content
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2246>
This commit is contained in:
parent
3eb5d66938
commit
7d862e0f5e
1 changed files with 3 additions and 1 deletions
|
@ -854,8 +854,10 @@ gst_dash_sink_write_mpd_file (GstDashSink * sink,
|
|||
|
||||
g_mutex_lock (&sink->mpd_lock);
|
||||
gst_dash_sink_generate_mpd_content (sink, current_stream);
|
||||
if (!gst_mpd_client_get_xml_content (sink->mpd_client, &mpd_content, &size))
|
||||
if (!gst_mpd_client_get_xml_content (sink->mpd_client, &mpd_content, &size)) {
|
||||
g_mutex_unlock (&sink->mpd_lock);
|
||||
return;
|
||||
}
|
||||
g_mutex_unlock (&sink->mpd_lock);
|
||||
|
||||
if (sink->mpd_root_path)
|
||||
|
|
Loading…
Reference in a new issue