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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon May 18 02:13:15 EEST 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavformat/segment.c | 1 +
 1 file changed, 1 insertion(+)

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'))
-- 
2.20.1



More information about the ffmpeg-devel mailing list