aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-18 19:06:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-18 23:57:44 +0100
commit0e02a5193f80da7c5c16aacb0d6d143bd39865b0 (patch)
tree17338a575d657454495e4c3b0936fd34e8a04b42 /libavformat/segment.c
parent823efd9286b376c27aca20547c4b5e27f7c920e6 (diff)
downloadffmpeg-0e02a5193f80da7c5c16aacb0d6d143bd39865b0.tar.gz
segment: copy metadata
Fixes Ticket2230 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 124a09fa41..dbcfe898cf 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;