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:
Vadim Belov 2015-07-01 13:49:06 +03:00 committed by Michael Niedermayer
parent 60ec3007e6
commit db64af6395
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,8 @@ static int copy_stream_props(AVStream *st, AVStream *source_st)
st->avg_frame_rate = source_st->avg_frame_rate;
st->time_base = source_st->time_base;
st->sample_aspect_ratio = source_st->sample_aspect_ratio;
av_dict_copy(&st->metadata, source_st->metadata, 0);
return 0;
}