avformat/dashenc: change the hls version from 6 to 7
authorSteven Liu <lq@chinaffmpeg.org>
Fri, 20 Apr 2018 03:29:35 +0000 (11:29 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Fri, 20 Apr 2018 05:31:05 +0000 (13:31 +0800)
reference hls support fmp4 file from  draft-pantos-http-live-streaming-20
the spec describes version 7 of hls protocol

Suggested-by: Ronak <ronak2121@yahoo.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/dashenc.c

index 9e72636..fefe3ce 100644 (file)
@@ -827,7 +827,7 @@ static int write_manifest(AVFormatContext *s, int final)
         }
         av_dict_free(&opts);
 
-        ff_hls_write_playlist_version(out, 6);
+        ff_hls_write_playlist_version(out, 7);
 
         for (i = 0; i < s->nb_streams; i++) {
             char playlist_file[64];