gstreamer/ext/hls
Edward Hervey 8d86a8b75d hlsdemux: Avoid negative sequence numbers
For live streams, we want to make sure there's a certain distance
between the sequence to play and the last (earliest) fragment.

The problem is that it assumes there are at least 3 fragments in
the playlist, which might not always be the case (like in the case
of a server restarting and gradually adding fragments).

In order to avoid ending up with negative sequence numbers (which
will just loop forever), limit the new target sequence number to
the highest of:
* either the first sequence number of the playlist (fallback)
* or 3 fragments from the last one (standard behaviour)
2015-10-14 18:01:04 +02:00
..
gstfragmented.h hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00
gstfragmentedplugin.c Make the hls plugin depend on gnutls and move to ext/hls/ 2013-03-19 10:54:18 +01:00
gsthlsdemux.c hlsdemux: Avoid negative sequence numbers 2015-10-14 18:01:04 +02:00
gsthlsdemux.h hlsdemux: remove more unused attributes 2015-05-27 06:17:49 -03:00
gsthlssink.c hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00
gsthlssink.h Make the hls plugin depend on gnutls and move to ext/hls/ 2013-03-19 10:54:18 +01:00
gstm3u8playlist.c hls: m3u8playlist: more clean-ups 2015-09-30 00:43:26 +01:00
gstm3u8playlist.h hls: m3u8playlist: more clean-ups 2015-09-30 00:43:26 +01:00
m3u8.c Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
m3u8.h Fix file permissions of some files 2015-08-28 19:55:59 +01:00
Makefile.am hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00