diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2015-01-19 17:49:54 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2015-01-19 17:49:54 +0000 |
commit | d854cfff9d7602a8a13e950beff4b90660488d38 (patch) | |
tree | 0acad66b98da8826343e1423b6217f1f22aff658 | |
parent | 84c44fceac88d1caa3f0dc29daa4c4c263f8c2d0 (diff) |
qtdemux: fix deadlock seeking in files without seek entries
A mutex unlock was missing.
https://bugzilla.gnome.org/show_bug.cgi?id=739975
-rw-r--r-- | gst/isomp4/qtdemux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 43f68ca37..2c47987c5 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, |