You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/concatdec: copy stream metadata when using concat
Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
60ec3007e6
commit
db64af6395
@@ -172,6 +172,8 @@ static int copy_stream_props(AVStream *st, AVStream *source_st)
|
|||||||
st->avg_frame_rate = source_st->avg_frame_rate;
|
st->avg_frame_rate = source_st->avg_frame_rate;
|
||||||
st->time_base = source_st->time_base;
|
st->time_base = source_st->time_base;
|
||||||
st->sample_aspect_ratio = source_st->sample_aspect_ratio;
|
st->sample_aspect_ratio = source_st->sample_aspect_ratio;
|
||||||
|
|
||||||
|
av_dict_copy(&st->metadata, source_st->metadata, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user