Commit 0e02a519 authored by Michael Niedermayer's avatar Michael Niedermayer

segment: copy metadata

Fixes Ticket2230
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 823efd92
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment