mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
m3u8: Release m3u8 lock if consistent checking failed
To fix deadlock during live m3u8 update https://bugzilla.gnome.org/show_bug.cgi?id=780180
This commit is contained in:
parent
7e21168d4d
commit
16dd0e693d
1 changed files with 3 additions and 1 deletions
|
@ -699,8 +699,10 @@ gst_m3u8_update (GstM3U8 * self, gchar * data)
|
||||||
previous_files = NULL;
|
previous_files = NULL;
|
||||||
|
|
||||||
/* error was reported above already */
|
/* error was reported above already */
|
||||||
if (!consistent)
|
if (!consistent) {
|
||||||
|
GST_M3U8_UNLOCK (self);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self->files == NULL) {
|
if (self->files == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue