mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
389e35d032
Prevent the manifest update loop from looping endlessly after a seek event, by clearing the variable that tells the task function not to immediately exit.
13 lines
591 B
Diff
13 lines
591 B
Diff
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
|
|
index a7cf6c0..34ea3aa 100644
|
|
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
|
|
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
|
|
@@ -2533,6 +2533,8 @@ gst_adaptive_demux_stream_download_uri (GstAdaptiveDemux * demux,
|
|
return ret;
|
|
}
|
|
|
|
+ gst_element_set_state (stream->src, GST_STATE_PLAYING);
|
|
+
|
|
/* wait for the fragment to be completely downloaded */
|
|
GST_DEBUG_OBJECT (stream->pad,
|
|
"Waiting for fragment download to finish: %s", uri);
|