mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
segment: fix copying stream metadata
To get mpegts metadata copied when segmenting. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
413fa76f61
commit
502fc3b3d4
@ -160,6 +160,7 @@ static int segment_mux_init(AVFormatContext *s)
|
||||
ocodec->codec_tag = 0;
|
||||
}
|
||||
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
|
||||
av_dict_copy(&st->metadata, s->streams[i]->metadata, 0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user