avformat/concatdec: copy stream metadata when using concat

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/267/head
Vadim Belov 10 years ago committed by Michael Niedermayer
parent 60ec3007e6
commit db64af6395
  1. 2
      libavformat/concatdec.c

@ -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;
} }

Loading…
Cancel
Save