mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
mssdemux: use correct function to clear fragment info
Just freeing the url won't reset the byte ranges and can lead to wrong ranges being used.
This commit is contained in:
parent
a48a361256
commit
2526c7b286
1 changed files with 1 additions and 3 deletions
|
@ -286,9 +286,7 @@ gst_mss_demux_stream_update_fragment_info (GstAdaptiveDemuxStream * stream)
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
gchar *path = NULL;
|
gchar *path = NULL;
|
||||||
|
|
||||||
g_free (stream->fragment.uri);
|
gst_adaptive_demux_stream_fragment_clear (&stream->fragment);
|
||||||
stream->fragment.uri = NULL;
|
|
||||||
|
|
||||||
ret = gst_mss_stream_get_fragment_url (mssstream->manifest_stream, &path);
|
ret = gst_mss_stream_get_fragment_url (mssstream->manifest_stream, &path);
|
||||||
|
|
||||||
if (ret == GST_FLOW_OK) {
|
if (ret == GST_FLOW_OK) {
|
||||||
|
|
Loading…
Reference in a new issue