[FFmpeg-devel] [PATCH] segment: copy metadata

Michael Niedermayer michaelni at gmx.at
Mon Mar 18 19:08:19 CET 2013


Fixes Ticket2230

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list