mss: always periodically update the manifest taking the new fragments

Without this, for streams where the content is stored indefinitely and
can be seeked on, the duration would never increase when in paused or,
until we reached near the end of the currently advertised stream (where
the internal fragment parser would see descriptions of new fragments).
This commit is contained in:
Matthew Waters 2017-04-07 14:42:24 +10:00
parent 80903beae1
commit 5199aa60d5
2 changed files with 1 additions and 4 deletions

View file

@ -728,5 +728,5 @@ gst_mss_demux_requires_periodical_playlist_update (GstAdaptiveDemux * demux)
{
GstMssDemux *mssdemux = GST_MSS_DEMUX_CAST (demux);
return (!gst_mss_manifest_is_live (mssdemux->manifest));
return TRUE;
}

View file

@ -1315,9 +1315,6 @@ gst_mss_stream_reload_fragments (GstMssStream * stream, xmlNodePtr streamIndex)
guint64 current_gst_time;
GstMssFragmentListBuilder builder;
if (stream->has_live_fragments)
return;
current_gst_time = gst_mss_stream_get_fragment_gst_timestamp (stream);
gst_mss_fragment_list_builder_init (&builder);