mirror of https://git.ffmpeg.org/ffmpeg.git
segment: copy metadata
Fixes Ticket2230 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
823efd9286
commit
0e02a5193f
|
@ -129,6 +129,7 @@ static int segment_mux_init(AVFormatContext *s)
|
||||||
|
|
||||||
oc->oformat = seg->oformat;
|
oc->oformat = seg->oformat;
|
||||||
oc->interrupt_callback = s->interrupt_callback;
|
oc->interrupt_callback = s->interrupt_callback;
|
||||||
|
av_dict_copy(&oc->metadata, s->metadata, 0);
|
||||||
|
|
||||||
for (i = 0; i < s->nb_streams; i++) {
|
for (i = 0; i < s->nb_streams; i++) {
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
Loading…
Reference in New Issue