mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
adaptivedemux: Fix comparision logic
We can't answer the SEEKING query if we do *not* have the manifest
This commit is contained in:
parent
93b19d06b6
commit
38c97f5fa5
1 changed files with 3 additions and 1 deletions
|
@ -1130,8 +1130,10 @@ gst_adaptive_demux_src_query (GstPad * pad, GstObject * parent,
|
|||
gint64 start = 0;
|
||||
|
||||
GST_MANIFEST_LOCK (demux);
|
||||
if (demux->priv->have_manifest) {
|
||||
if (!demux->priv->have_manifest) {
|
||||
GST_MANIFEST_UNLOCK (demux);
|
||||
GST_INFO_OBJECT (demux,
|
||||
"Don't have manifest yet, can't answer seeking query");
|
||||
return FALSE; /* can't answer without manifest */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue