[FFmpeg-devel] [PATCH 1/3] lavf/assenc: add non strict ts flag.

Clément Bœsch ubitux at gmail.com
Sun Nov 11 00:44:16 CET 2012


ASS can have several events at the same time.
---
 libavformat/assenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 6b98886..bda507d 100644
--- a/libavformat/assenc.c
+++ b/libavformat/assenc.c
@@ -85,5 +85,5 @@ AVOutputFormat ff_ass_muxer = {
     .write_header   = write_header,
     .write_packet   = write_packet,
     .write_trailer  = write_trailer,
-    .flags          = AVFMT_GLOBALHEADER | AVFMT_NOTIMESTAMPS,
+    .flags          = AVFMT_GLOBALHEADER | AVFMT_NOTIMESTAMPS | AVFMT_TS_NONSTRICT,
 };
-- 
1.8.0



More information about the ffmpeg-devel mailing list