[FFmpeg-cvslog] avformat/hls: Forward stream metadata from subdemuxer
Armin Hasitzka
git at videolan.org
Sat Jun 17 20:01:59 EEST 2023
ffmpeg | branch: master | Armin Hasitzka <armin at grabyo.com> | Tue May 23 11:16:59 2023 +0100| [f2349e7e628311bfbf217e821e4953052728863e] | committer: Anton Khirnov
avformat/hls: Forward stream metadata from subdemuxer
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2349e7e628311bfbf217e821e4953052728863e
---
libavformat/hls.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 4fff4405e8..2a2fe28a54 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1849,6 +1849,8 @@ static int set_stream_info_from_input_stream(AVStream *st, struct playlist *pls,
// copy disposition
st->disposition = ist->disposition;
+ av_dict_copy(&st->metadata, ist->metadata, 0);
+
// copy side data
for (int i = 0; i < ist->nb_side_data; i++) {
const AVPacketSideData *sd_src = &ist->side_data[i];
More information about the ffmpeg-cvslog
mailing list