[FFmpeg-devel,2/2] avformat/hlsenc: use frag_every_frame flag to make fmp4

Submitted by Steven Liu on March 13, 2018, 10:05 a.m.

Details

Message ID 20180313100505.2563-2-lq@chinaffmpeg.org
State New
Headers show

Commit Message

Steven Liu March 13, 2018, 10:05 a.m.
fix ticket: #7023

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 185e3442f6..28e0047cf0 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -782,7 +782,7 @@  static int hls_mux_init(AVFormatContext *s, VariantStream *vs)
 
         av_dict_copy(&options, hls->format_options, 0);
         av_dict_set(&options, "fflags", "-autobsf", 0);
-        av_dict_set(&options, "movflags", "frag_custom+dash+delay_moov", 0);
+        av_dict_set(&options, "movflags", "frag_every_frame+dash+delay_moov", 0);
         ret = avformat_init_output(oc, &options);
         if (ret < 0)
             return ret;