[FFmpeg-devel] [PATCH] avformat/mov: Disable XMP metadata by default

Michael Niedermayer michaelni at gmx.at
Tue Dec 9 02:57:01 CET 2014


This was suggested by cbsrobot, ubitux and koda

There are files with huge amounts of XMP data, which would otherwise
be displayed in the terminal output of FFmpeg

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

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 6633a41..9fe124e 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4223,7 +4223,7 @@ static const AVOption mov_options[] = {
     { "export_all", "Export unrecognized metadata entries", OFFSET(export_all),
         AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
     { "export_xmp", "Export full XMP metadata", OFFSET(export_xmp),
-        AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, .flags = FLAGS },
+        AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
     { NULL },
 };
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list