mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
adaptivedemux: restart the manifest update task after a seek
For formats that need to update the manifest to know about new fragments as they're being written by the server would never receive an updated fragment list after a seek event https://bugzilla.gnome.org/show_bug.cgi?id=774177
This commit is contained in:
parent
324b3873c8
commit
fab5aa8b16
1 changed files with 7 additions and 0 deletions
|
@ -1530,6 +1530,13 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, GstPad * pad,
|
|||
|
||||
/* Restart the demux */
|
||||
gst_adaptive_demux_start_tasks (demux);
|
||||
if (gst_adaptive_demux_is_live (demux)) {
|
||||
g_mutex_lock (&demux->priv->updates_timed_lock);
|
||||
demux->priv->stop_updates_task = FALSE;
|
||||
g_mutex_unlock (&demux->priv->updates_timed_lock);
|
||||
/* Task to periodically update the manifest */
|
||||
gst_task_start (demux->priv->updates_task);
|
||||
}
|
||||
GST_MANIFEST_UNLOCK (demux);
|
||||
GST_API_UNLOCK (demux);
|
||||
gst_event_unref (event);
|
||||
|
|
Loading…
Reference in a new issue