diff options
author | Vadim Belov <vadim.belov@gmail.com> | 2015-07-01 13:49:06 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-01 14:43:31 +0200 |
commit | db64af639559c80668bf4fca2768fd8f7aeb43e9 (patch) | |
tree | c3fb91b806ba8986adc77ecf3091a1964dc17059 | |
parent | 60ec3007e69ce8c5ae540c81b0bd21c1ebe1543a (diff) | |
download | ffmpeg-db64af639559c80668bf4fca2768fd8f7aeb43e9.tar.gz |
avformat/concatdec: copy stream metadata when using concat
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/concatdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |