mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
adaptivedemux: call the subclass for duration queries for live sources
Otherwise, the duration query was failing for live sources https://bugzilla.gnome.org/show_bug.cgi?id=774177
This commit is contained in:
parent
fab5aa8b16
commit
6d50a9e8a8
1 changed files with 1 additions and 2 deletions
|
@ -1619,8 +1619,7 @@ gst_adaptive_demux_src_query (GstPad * pad, GstObject * parent,
|
||||||
|
|
||||||
GST_MANIFEST_LOCK (demux);
|
GST_MANIFEST_LOCK (demux);
|
||||||
|
|
||||||
if (fmt == GST_FORMAT_TIME && demux->priv->have_manifest
|
if (fmt == GST_FORMAT_TIME && demux->priv->have_manifest) {
|
||||||
&& !gst_adaptive_demux_is_live (demux)) {
|
|
||||||
duration = demux_class->get_duration (demux);
|
duration = demux_class->get_duration (demux);
|
||||||
|
|
||||||
if (GST_CLOCK_TIME_IS_VALID (duration) && duration > 0) {
|
if (GST_CLOCK_TIME_IS_VALID (duration) && duration > 0) {
|
||||||
|
|
Loading…
Reference in a new issue