diff options
author | Karthick J <kjeyapal@akamai.com> | 2019-01-22 11:25:21 +0530 |
---|---|---|
committer | Karthick J <kjeyapal@akamai.com> | 2019-01-28 11:07:10 +0530 |
commit | 1db30d6cec70d9b28c80cb743220dd2502b8df30 (patch) | |
tree | f293ff0af6bb479388b7f630de99da61068d1a64 /libavformat/dashenc.c | |
parent | eb1f95eb355ff9477e70bedfe0602c2380b05969 (diff) | |
download | ffmpeg-1db30d6cec70d9b28c80cb743220dd2502b8df30.tar.gz |
avformat/dashenc: Skip writing trailer for MP4 output when in streaming mode
In streaming mode mp4 trailer is not required for playout.
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 9c90cf17e5..6299e179c2 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1210,7 +1210,7 @@ static int dash_init(AVFormatContext *s) if (os->segment_type == SEGMENT_TYPE_MP4) { if (c->streaming) - av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+skip_sidx", 0); + av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+skip_sidx+skip_trailer", 0); else av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0); } else { |