mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
qtdemux: fix deadlock seeking in files without seek entries
A mutex unlock was missing. https://bugzilla.gnome.org/show_bug.cgi?id=739975
This commit is contained in:
parent
84c44fceac
commit
d854cfff9d
1 changed files with 3 additions and 1 deletions
|
@ -4422,8 +4422,10 @@ gst_qtdemux_do_fragmented_seek (GstQTDemux * qtdemux)
|
||||||
best_entry = entry;
|
best_entry = entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (best_entry == NULL)
|
if (best_entry == NULL) {
|
||||||
|
GST_OBJECT_UNLOCK (qtdemux);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
GST_INFO_OBJECT (qtdemux, "seek to %" GST_TIME_FORMAT ", best fragment "
|
GST_INFO_OBJECT (qtdemux, "seek to %" GST_TIME_FORMAT ", best fragment "
|
||||||
"moof offset: %" G_GUINT64_FORMAT ", ts %" GST_TIME_FORMAT,
|
"moof offset: %" G_GUINT64_FORMAT ", ts %" GST_TIME_FORMAT,
|
||||||
|
|
Loading…
Reference in a new issue