avformat/dashenc: Used the movenc option skip_sidx instead of global_sidx
authorkjeyapal@akamai.com <kjeyapal@akamai.com>
Wed, 5 Dec 2018 06:18:40 +0000 (11:48 +0530)
committerKarthick J <kjeyapal@akamai.com>
Tue, 11 Dec 2018 05:23:18 +0000 (10:53 +0530)
Anyways the intended behaviour was to disable SIDX atom.

libavformat/dashenc.c

index 4d9b564..585b34c 100644 (file)
@@ -1162,7 +1162,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+global_sidx", 0);
+                av_dict_set(&opts, "movflags", "frag_every_frame+dash+delay_moov+skip_sidx", 0);
             else
                 av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0);
         } else {