avformat/segment: Propagate disposition

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/338/head
Andreas Rheinhardt 5 years ago
parent a6828034e0
commit b7d334e7b6
  1. 1
      libavformat/segment.c

@ -179,6 +179,7 @@ static int segment_mux_init(AVFormatContext *s)
st->sample_aspect_ratio = ist->sample_aspect_ratio; st->sample_aspect_ratio = ist->sample_aspect_ratio;
st->time_base = ist->time_base; st->time_base = ist->time_base;
st->avg_frame_rate = ist->avg_frame_rate; st->avg_frame_rate = ist->avg_frame_rate;
st->disposition = ist->disposition;
#if FF_API_LAVF_AVCTX #if FF_API_LAVF_AVCTX
FF_DISABLE_DEPRECATION_WARNINGS FF_DISABLE_DEPRECATION_WARNINGS
if (ipar->codec_tag == MKTAG('t','m','c','d')) if (ipar->codec_tag == MKTAG('t','m','c','d'))

Loading…
Cancel
Save