mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-30 15:33:41 +00: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