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:
Guillaume Seguin 2015-02-19 14:34:23 +01:00 committed by Thiago Santos
parent 0e809604f5
commit b75f64d72e

View file

@ -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