From: Vincent Penquerc'h Date: Mon, 19 Jan 2015 17:49:54 +0000 (+0000) Subject: qtdemux: fix deadlock seeking in files without seek entries X-Git-Tag: 1.19.3~509^2~3915 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d854cfff9d7602a8a13e950beff4b90660488d38;p=platform%2Fupstream%2Fgstreamer.git qtdemux: fix deadlock seeking in files without seek entries A mutex unlock was missing. https://bugzilla.gnome.org/show_bug.cgi?id=739975 --- 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,