diff mbox

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

Message ID 20180420033251.12273-1-lq@chinaffmpeg.org
State Accepted
Commit 002e45b40760b15319a3f2ea3d2c78bd9cc72d38
Headers show

Commit Message

Liu Steven April 20, 2018, 3:32 a.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeyapal, Karthick April 20, 2018, 3:41 a.m. UTC | #1
On 4/20/18 9:02 AM, Steven Liu wrote:
> 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 | 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];

LGTM. Thanks for the fix.
Ronak Patel April 20, 2018, 1:48 p.m. UTC | #2
Awesome guys thanks for the fix! That was fast!

Sent from my iPhone

> On Apr 19, 2018, at 11:41 PM, Jeyapal, Karthick <kjeyapal@akamai.com> wrote:
> 
> 
> 
>> On 4/20/18 9:02 AM, Steven Liu wrote:
>> 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 | 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];
> LGTM. Thanks for the fix.
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
diff mbox

Patch

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];