[FFmpeg-devel] [PATCH 2/5] copy stream metadata when using concat
Vadim Belov
vadim.belov at gmail.com
Wed Jul 1 12:12:30 CEST 2015
From: unknown <vadimb at VADIMB-T440.nice.com>
---
libavformat/concatdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index f07cfd7..c61d5c2 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;
}
--
1.9.5.msysgit.1
More information about the ffmpeg-devel
mailing list