From d854cfff9d7602a8a13e950beff4b90660488d38 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Mon, 19 Jan 2015 17:49:54 +0000 Subject: [PATCH] qtdemux: fix deadlock seeking in files without seek entries A mutex unlock was missing. https://bugzilla.gnome.org/show_bug.cgi?id=739975 --- gst/isomp4/qtdemux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 43f68ca370..2c47987c57 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -4422,8 +4422,10 @@ gst_qtdemux_do_fragmented_seek (GstQTDemux * qtdemux) best_entry = entry; } - if (best_entry == NULL) + if (best_entry == NULL) { + GST_OBJECT_UNLOCK (qtdemux); return FALSE; + } GST_INFO_OBJECT (qtdemux, "seek to %" GST_TIME_FORMAT ", best fragment " "moof offset: %" G_GUINT64_FORMAT ", ts %" GST_TIME_FORMAT,