[FFmpeg-cvslog] avformat/concatdec: copy stream metadata when using concat
Vadim Belov
git at videolan.org
Wed Jul 1 14:55:58 CEST 2015
ffmpeg | branch: master | Vadim Belov <vadim.belov at gmail.com> | Wed Jul 1 13:49:06 2015 +0300| [db64af639559c80668bf4fca2768fd8f7aeb43e9] | committer: Michael Niedermayer
avformat/concatdec: copy stream metadata when using concat
Reviewed-by: Nicolas George <george at nsup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db64af639559c80668bf4fca2768fd8f7aeb43e9
---
libavformat/concatdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index 07db9f9..e95ff34 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;
}
More information about the ffmpeg-cvslog
mailing list