mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist
This commit is contained in:
parent
3024ae9c38
commit
46b0310acd
1 changed files with 1 additions and 0 deletions
|
@ -494,6 +494,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
|
|||
} else {
|
||||
offset = prev->offset + prev->size;
|
||||
}
|
||||
file->offset = offset;
|
||||
}
|
||||
} else {
|
||||
file->size = -1;
|
||||
|
|
Loading…
Reference in a new issue