diff mbox series

[FFmpeg-devel,2/6] avformat/segment: Propagate disposition

Message ID 20200517231319.13067-2-andreas.rheinhardt@gmail.com
State Accepted
Commit b7d334e7b6698fd87add804c42a714c430484006
Headers show
Series [FFmpeg-devel,1/6] avformat/segment: Access AVStream more directly
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Andreas Rheinhardt May 17, 2020, 11:13 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/segment.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 7e8bd65976..2ff2b5372e 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -179,6 +179,7 @@  static int segment_mux_init(AVFormatContext *s)
         st->sample_aspect_ratio = ist->sample_aspect_ratio;
         st->time_base           = ist->time_base;
         st->avg_frame_rate      = ist->avg_frame_rate;
+        st->disposition         = ist->disposition;
 #if FF_API_LAVF_AVCTX
 FF_DISABLE_DEPRECATION_WARNINGS
         if (ipar->codec_tag == MKTAG('t','m','c','d'))