[FFmpeg-devel] [PATCH] avformat/concatdec: Enable auto_convert by default

Michael Niedermayer michaelni at gmx.at
Tue May 26 22:16:43 CEST 2015


Users have no means to find out from a failure how to make it work
or is it preferred to check and print a warning for h264 concat without auto_convert ?

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/concatdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index f07cfd7..07db9f9 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -627,7 +627,7 @@ static const AVOption options[] = {
     { "safe", "enable safe mode",
       OFFSET(safe), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, DEC },
     { "auto_convert", "automatically convert bitstream format",
-      OFFSET(auto_convert), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, DEC },
+      OFFSET(auto_convert), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, DEC },
     { NULL }
 };
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list