[FFmpeg-devel] [PATCH] Set AVFMT_TS_NONSTRICT for framecrc muxer.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jan 22 17:37:28 CET 2012


Since it is set for e.g. webm muxer we should make it possible
to test such streams with framecrc, too.
Though the primary reason is that this allows the H.264 tests
to not run into this check when fixing raw video encode to
pass pts values on.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavformat/framecrcenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index 8e66a8d..c389037 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -39,5 +39,5 @@ AVOutputFormat ff_framecrc_muxer = {
     .audio_codec       = CODEC_ID_PCM_S16LE,
     .video_codec       = CODEC_ID_RAWVIDEO,
     .write_packet      = framecrc_write_packet,
-    .flags             = AVFMT_VARIABLE_FPS,
+    .flags             = AVFMT_VARIABLE_FPS | AVFMT_TS_NONSTRICT,
 };
-- 
1.7.8.3



More information about the ffmpeg-devel mailing list