This should probably be combined with switching dashenc to using
pts instead of dts for the timelines.
---
 libavformat/dashenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 0919d1c..0b9570d 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -638,6 +638,7 @@ static int dash_write_header(AVFormatContext *s)
             av_dict_set(&opts, "movflags", 
"frag_custom+dash+delay_moov+frag_discont", 0);
         } else {
             av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0);
+            av_dict_set(&opts, "use_editlist", "1", 0);
         }
         if ((ret = avformat_write_header(ctx, &opts)) < 0) {
              goto fail;
-- 
1.9.3 (Apple Git-50)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to