avformat/concatdec: copy stream metadata when using concat
authorVadim Belov <vadim.belov@gmail.com>
Wed, 1 Jul 2015 10:49:06 +0000 (13:49 +0300)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 12:43:31 +0000 (14:43 +0200)
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/concatdec.c

index 07db9f9..e95ff34 100644 (file)
@@ -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;
 }