diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-01-21 16:32:57 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-01-31 16:16:53 +0800 |
commit | 62e8644bcadb82e0ed542b6baacff1c9e15b88c2 (patch) | |
tree | b5b6c9b8e69ed32f645a63981e07831d43f0910a | |
parent | 0b50f27635f684ec0526e9975c9979f35bbf486b (diff) |
avformat/hlsenc: make the EXT-X-MEDIA NAME field by stream id.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index ca57694e9e..eb094f7490 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1258,7 +1258,7 @@ static int create_master_playlist(AVFormatContext *s, goto fail; } - ff_hls_write_audio_rendition(hls->m3u8_out, vs->agroup, m3u8_rel_name, 0, 1); + ff_hls_write_audio_rendition(hls->m3u8_out, vs->agroup, m3u8_rel_name, i, 1); av_freep(&m3u8_rel_name); } |