gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 5935c8049a hlsdemux2: Fix position searching
The scanning is done in a reverse order, the proper full checks to do are
therefore:
* If the position is beyond half a "segment duration", it's in the following
segment
* If the position is within the first half of a segment, it's in that one
* If the segment is the first one and the position is within half a duration
backwards, we consider the position as being within that first segment

Also handle the case where a "partial only" segment doesn't have a reliable
duration, and therefore use the playlist target duration instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
2023-02-03 16:52:23 +00:00
..
gsthlsdemux-playlist-loader.c hlsdemux2: Immediately request playlist after URI changes 2023-02-03 16:52:23 +00:00
gsthlsdemux-playlist-loader.h hlsdemux2: Continue reworking code for async playlist updates 2023-02-03 16:52:23 +00:00
gsthlsdemux-preloader.c hlsdemux2: Calculate / transfer timing info for preloads 2023-02-03 16:52:22 +00:00
gsthlsdemux-preloader.h hlsdemux2/preloader: Implement basic request handling 2023-02-03 16:52:22 +00:00
gsthlsdemux-stream.c hlsdemux2: Wait for playlist load after a switch 2023-02-03 16:52:23 +00:00
gsthlsdemux-stream.h hlsdemux2: Continue reworking code for async playlist updates 2023-02-03 16:52:23 +00:00
gsthlsdemux-util.c hlsdemux2: Split the stream object out 2023-02-03 16:52:22 +00:00
gsthlsdemux.c hlsdemux2: Make sure simple media playlist is properly primed 2023-02-03 16:52:23 +00:00
gsthlsdemux.h adaptivedemux2: Fix manifest access during seeking query 2023-02-03 16:52:23 +00:00
gsthlselement.c adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
gsthlselements.h adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
m3u8.c hlsdemux2: Fix position searching 2023-02-03 16:52:23 +00:00
m3u8.h hlsdemux2: Handle async playlist loading failures 2023-02-03 16:52:23 +00:00
meson.build hlsdemux2: Add HLS playlist loader 2023-02-03 16:52:23 +00:00