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
@ -1130,8 +1130,10 @@ gst_adaptive_demux_src_query (GstPad * pad, GstObject * parent,
|
|||||||
gint64 start = 0;
|
gint64 start = 0;
|
||||||
|
|
||||||
GST_MANIFEST_LOCK (demux);
|
GST_MANIFEST_LOCK (demux);
|
||||||
if (demux->priv->have_manifest) {
|
if (!demux->priv->have_manifest) {
|
||||||
GST_MANIFEST_UNLOCK (demux);
|
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 */
|
return FALSE; /* can't answer without manifest */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user