[FFmpeg-cvslog] lavf: add the notimestamps flag to the muxers missing it

Anton Khirnov git at videolan.org
Wed Jun 18 17:34:26 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu May 29 07:06:52 2014 +0200| [f792d3cbb8e8e35c54a9358a55dd596b7a40f228] | committer: Anton Khirnov

lavf: add the notimestamps flag to the muxers missing it

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

 libavformat/adtsenc.c |    1 +
 libavformat/amr.c     |    1 +
 libavformat/au.c      |    1 +
 libavformat/latmenc.c |    1 +
 libavformat/mpjpeg.c  |    1 +
 libavformat/omaenc.c  |    1 +
 libavformat/rsoenc.c  |    1 +
 libavformat/soxenc.c  |    1 +
 libavformat/vocenc.c  |    1 +
 9 files changed, 9 insertions(+)

diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index e7c9ca6..bf7a62a 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -172,4 +172,5 @@ AVOutputFormat ff_adts_muxer = {
     .video_codec       = AV_CODEC_ID_NONE,
     .write_header      = adts_write_header,
     .write_packet      = adts_write_packet,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/amr.c b/libavformat/amr.c
index 3b1a468..afd062e 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -176,5 +176,6 @@ AVOutputFormat ff_amr_muxer = {
     .video_codec       = AV_CODEC_ID_NONE,
     .write_header      = amr_write_header,
     .write_packet      = amr_write_packet,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
diff --git a/libavformat/au.c b/libavformat/au.c
index 6b252b2..e682cbf 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -215,6 +215,7 @@ AVOutputFormat ff_au_muxer = {
     .write_packet  = ff_raw_write_packet,
     .write_trailer = au_write_trailer,
     .codec_tag     = (const AVCodecTag* const []) { codec_au_tags, 0 },
+    .flags         = AVFMT_NOTIMESTAMPS,
 };
 
 #endif /* CONFIG_AU_MUXER */
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 7270292..e5e2f87 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -188,4 +188,5 @@ AVOutputFormat ff_latm_muxer = {
     .write_header   = latm_write_header,
     .write_packet   = latm_write_packet,
     .priv_class     = &latm_muxer_class,
+    .flags          = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index 2114189..9e21099 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -62,4 +62,5 @@ AVOutputFormat ff_mpjpeg_muxer = {
     .write_header      = mpjpeg_write_header,
     .write_packet      = mpjpeg_write_packet,
     .write_trailer     = mpjpeg_write_trailer,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/omaenc.c b/libavformat/omaenc.c
index ea28e10..bfd552a 100644
--- a/libavformat/omaenc.c
+++ b/libavformat/omaenc.c
@@ -102,4 +102,5 @@ AVOutputFormat ff_oma_muxer = {
     .write_header      = oma_write_header,
     .write_packet      = ff_raw_write_packet,
     .codec_tag         = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/rsoenc.c b/libavformat/rsoenc.c
index cc76f9a..8ebcf81 100644
--- a/libavformat/rsoenc.c
+++ b/libavformat/rsoenc.c
@@ -108,4 +108,5 @@ AVOutputFormat ff_rso_muxer = {
     .write_packet   =   rso_write_packet,
     .write_trailer  =   rso_write_trailer,
     .codec_tag      =   (const AVCodecTag* const []){ff_codec_rso_tags, 0},
+    .flags          =   AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/soxenc.c b/libavformat/soxenc.c
index 3e5d2e3..4b8955c 100644
--- a/libavformat/soxenc.c
+++ b/libavformat/soxenc.c
@@ -125,4 +125,5 @@ AVOutputFormat ff_sox_muxer = {
     .write_header      = sox_write_header,
     .write_packet      = sox_write_packet,
     .write_trailer     = sox_write_trailer,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c
index d18eac2..ed10a96 100644
--- a/libavformat/vocenc.c
+++ b/libavformat/vocenc.c
@@ -101,4 +101,5 @@ AVOutputFormat ff_voc_muxer = {
     .write_packet      = voc_write_packet,
     .write_trailer     = voc_write_trailer,
     .codec_tag         = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
+    .flags             = AVFMT_NOTIMESTAMPS,
 };



More information about the ffmpeg-cvslog mailing list