[FFmpeg-devel] [PATCH] avformat/dashenc: change the hls version from 6 to 7

Steven Liu lq at chinaffmpeg.org
Fri Apr 20 06:32:51 EEST 2018


reference hls support fmp4 file from  draft-pantos-http-live-streaming-20
the spec describes version 7 of hls protocol

Suggested-by: Ronak <ronak2121 at yahoo.com>
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 9e72636f0e..fefe3ce0ca 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -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];
-- 
2.15.1





More information about the ffmpeg-devel mailing list