ffmpeg | branch: master | Vadim Belov <[email protected]> | Wed Jul  1 
13:49:06 2015 +0300| [db64af639559c80668bf4fca2768fd8f7aeb43e9] | committer: 
Michael Niedermayer

avformat/concatdec: copy stream metadata when using concat

Reviewed-by: Nicolas George <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>

> 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;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to