From db64af639559c80668bf4fca2768fd8f7aeb43e9 Mon Sep 17 00:00:00 2001 From: Vadim Belov Date: Wed, 1 Jul 2015 13:49:06 +0300 Subject: [PATCH] avformat/concatdec: copy stream metadata when using concat Reviewed-by: Nicolas George Signed-off-by: Michael Niedermayer --- libavformat/concatdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index 07db9f96a3..e95ff34182 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -172,6 +172,8 @@ static int copy_stream_props(AVStream *st, AVStream *source_st) st->avg_frame_rate = source_st->avg_frame_rate; st->time_base = source_st->time_base; st->sample_aspect_ratio = source_st->sample_aspect_ratio; + + av_dict_copy(&st->metadata, source_st->metadata, 0); return 0; }