mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
hlssink: reduce playlist's EXT-X-VERSION to 3
We are not using any features greater than the 3rd version, so reduce to what we actually use to make it compatible with more players https://bugzilla.gnome.org/show_bug.cgi?id=744689
This commit is contained in:
parent
0e809604f5
commit
b75f64d72e
1 changed files with 5 additions and 1 deletions
|
@ -51,6 +51,8 @@ GST_DEBUG_CATEGORY_STATIC (gst_hls_sink_debug);
|
|||
#define DEFAULT_TARGET_DURATION 15
|
||||
#define DEFAULT_PLAYLIST_LENGTH 5
|
||||
|
||||
#define GST_M3U8_PLAYLIST_VERSION 3
|
||||
|
||||
enum
|
||||
{
|
||||
PROP_0,
|
||||
|
@ -205,7 +207,9 @@ gst_hls_sink_reset (GstHlsSink * sink)
|
|||
|
||||
if (sink->playlist)
|
||||
gst_m3u8_playlist_free (sink->playlist);
|
||||
sink->playlist = gst_m3u8_playlist_new (6, sink->playlist_length, FALSE);
|
||||
sink->playlist =
|
||||
gst_m3u8_playlist_new (GST_M3U8_PLAYLIST_VERSION, sink->playlist_length,
|
||||
FALSE);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue