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:
Seungha Yang 2017-03-17 16:47:07 +09:00 committed by Sebastian Dröge
parent 7e21168d4d
commit 16dd0e693d

View file

@ -699,8 +699,10 @@ gst_m3u8_update (GstM3U8 * self, gchar * data)
previous_files = NULL;
/* error was reported above already */
if (!consistent)
if (!consistent) {
GST_M3U8_UNLOCK (self);
return FALSE;
}
}
if (self->files == NULL) {