[FFmpeg-cvslog] avformat/mov: use AV_OPT_TYPE_BOOL for export_{all, xmp} options

Clément Bœsch git at videolan.org
Sat Sep 12 18:27:32 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Sep 11 21:20:39 2015 +0200| [a84613b4c2a514bafa7e1d4b87f5fdf47ea85914] | committer: Clément Bœsch

avformat/mov: use AV_OPT_TYPE_BOOL for export_{all,xmp} options

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

 libavformat/mov.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 471b6ca..c57aaeb 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4736,9 +4736,9 @@ static const AVOption mov_options[] = {
     {"pts", "pts", 0, AV_OPT_TYPE_CONST, {.i64 = FF_MOV_FLAG_MFRA_PTS}, 0, 0,
         FLAGS, "use_mfra_for" },
     { "export_all", "Export unrecognized metadata entries", OFFSET(export_all),
-        AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
+        AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags = FLAGS },
     { "export_xmp", "Export full XMP metadata", OFFSET(export_xmp),
-        AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = FLAGS },
+        AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags = FLAGS },
     { "activation_bytes", "Secret bytes for Audible AAX files", OFFSET(activation_bytes),
         AV_OPT_TYPE_BINARY, .flags = AV_OPT_FLAG_DECODING_PARAM },
     { "audible_fixed_key", // extracted from libAAX_SDK.so and AAXSDKWin.dll files!



More information about the ffmpeg-cvslog mailing list