diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-18 22:06:45 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-19 02:57:44 +0400 |
commit | 0e02a5193f80da7c5c16aacb0d6d143bd39865b0 (patch) | |
tree | 17338a575d657454495e4c3b0936fd34e8a04b42 /libavformat/segment.c | |
parent | 823efd9286b376c27aca20547c4b5e27f7c920e6 (diff) |
segment: copy metadata
Fixes Ticket2230
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r-- | libavformat/segment.c | 1 |
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; |