mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
hls: if media sequence is not specified, use 0
Allows playlists that are missing the mediasequence information to be correctly parsed. If the playlist was updated without reseting the mediasequence it would constantly increase over subsequent updates, leading to issues during playback.
This commit is contained in:
parent
f78b37e6b2
commit
d5f79b8529
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ gst_m3u8_update (GstM3U8Client * client, GstM3U8 * self, gchar * data,
|
|||
self->files = NULL;
|
||||
}
|
||||
client->duration = GST_CLOCK_TIME_NONE;
|
||||
self->mediasequence = 0;
|
||||
|
||||
/* By default, allow caching */
|
||||
self->allowcache = TRUE;
|
||||
|
|
Loading…
Reference in a new issue