gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 964ee0299d hls/m3u8: Fix starting segment for live playlist
RFC 8216 6.3.3 "Playing the Media Playlist File" : states that for live media
playlists "the client SHOULD NOT choose a segment that starts less than three
target durations from the end of the Playlist file"

This is an off-by-one error. Since we are looking for the "index" of the
segment, we need to subtract 1 from the searched position.

Ex: For a playlist with 12 entries, we want to start playback on the 9th segment
... which is at index 8.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2259>
2022-04-22 08:06:27 +00:00
..
gsthlsdemux-util.c hls: Relax webvtt checks 2022-04-20 17:47:00 +00:00
gsthlsdemux.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gsthlsdemux.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gsthlselement.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gsthlselements.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
m3u8.c hls/m3u8: Fix starting segment for live playlist 2022-04-22 08:06:27 +00:00
m3u8.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
meson.build New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00