[FFmpeg-devel] [PATCH] avformat/dashenc: Add CODECS tag to HLS master playlist

Karthick J kjeyapal at akamai.com
Tue Aug 21 14:14:58 EEST 2018


From: Karthick Jeyapal <kjeyapal at akamai.com>

---
 libavformat/dashenc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index ae57fd5..229a56e 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -909,7 +909,8 @@ static int write_manifest(AVFormatContext *s, int final)
                 stream_bitrate += max_audio_bitrate;
             }
             get_hls_playlist_name(playlist_file, sizeof(playlist_file), NULL, i);
-            ff_hls_write_stream_info(st, out, stream_bitrate, playlist_file, agroup, NULL, NULL);
+            ff_hls_write_stream_info(st, out, stream_bitrate, playlist_file, agroup,
+                                     os->codec_str, NULL);
         }
         avio_close(out);
         if (use_rename)
-- 
2.7.4



More information about the ffmpeg-devel mailing list