[FFmpeg-cvslog] lavf/assenc: add non strict ts flag.

Clément Bœsch git at videolan.org
Sun Nov 11 23:00:35 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Nov 11 00:12:05 2012 +0100| [3704804c8f84c47e3a5ad222b6944e3fac967f8a] | committer: Clément Bœsch

lavf/assenc: add non strict ts flag.

ASS can have several events at the same time.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3704804c8f84c47e3a5ad222b6944e3fac967f8a
---

 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,
 };



More information about the ffmpeg-cvslog mailing list