From bb2d42c22facb057b22b0be18c115f8811494935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 22 Jan 2012 17:35:41 +0100 Subject: [PATCH] Set AVFMT_TS_NONSTRICT for framecrc muxer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- libavformat/framecrcenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c index 8e66a8daf3..c3890373be 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, };