mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
avformat/hlsenc: fix stream level metadata handling
hls-encoder currenlty does not provide stream level metadata to mpegts muxer. This patch fixes track #3848 bug. Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
2dafbae994
commit
2b9f92fcc5
@ -450,6 +450,7 @@ static int hls_mux_init(AVFormatContext *s)
|
||||
avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar);
|
||||
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
|
||||
st->time_base = s->streams[i]->time_base;
|
||||
av_dict_copy(&st->metadata, s->streams[i]->metadata, 0);
|
||||
}
|
||||
hls->start_pos = 0;
|
||||
hls->new_start = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user