diff --git a/libavformat/segment.c b/libavformat/segment.c index 98301dd7bc..3ee7d7d206 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -160,6 +160,7 @@ static int segment_mux_init(AVFormatContext *s) ocodec->codec_tag = 0; } st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio; + av_dict_copy(&st->metadata, s->streams[i]->metadata, 0); } return 0;