[FFmpeg-cvslog] segment: copy metadata

Michael Niedermayer git at videolan.org
Tue Mar 19 00:06:59 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 18 19:06:45 2013 +0100| [0e02a5193f80da7c5c16aacb0d6d143bd39865b0] | committer: Michael Niedermayer

segment: copy metadata

Fixes Ticket2230

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e02a5193f80da7c5c16aacb0d6d143bd39865b0
---

 libavformat/segment.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 124a09f..dbcfe89 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -129,6 +129,7 @@ static int segment_mux_init(AVFormatContext *s)
 
     oc->oformat            = seg->oformat;
     oc->interrupt_callback = s->interrupt_callback;
+    av_dict_copy(&oc->metadata, s->metadata, 0);
 
     for (i = 0; i < s->nb_streams; i++) {
         AVStream *st;



More information about the ffmpeg-cvslog mailing list