You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
segment: copy metadata
Fixes Ticket2230 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user