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
@ -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…
x
Reference in New Issue
Block a user