gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2
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
..
dash New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
hls hls/m3u8: Fix starting segment for live playlist 2022-04-22 08:06:27 +00:00
mss Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
downloadhelper.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
downloadhelper.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
downloadrequest.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
downloadrequest.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemux-period.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemux-private.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemux-stream.c Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
gstadaptivedemux-track.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemux.c Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
gstadaptivedemux.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemuxutils.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstadaptivedemuxutils.h New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstisoff.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00
gstisoff.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
plugin.c New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00