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