avformat/hls: Forward stream metadata from subdemuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Armin Hasitzka 2023-05-23 11:16:59 +01:00 committed by Anton Khirnov
parent dbc4c22890
commit f2349e7e62
1 changed files with 2 additions and 0 deletions

View File

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