[FFmpeg-cvslog] avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy option
Clément Bœsch
git at videolan.org
Wed Sep 9 00:40:59 CEST 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Wed Sep 9 00:38:22 2015 +0200| [d1c4e8c7db75710882b22fad468f2bddbe326918] | committer: Clément Bœsch
avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1c4e8c7db75710882b22fad468f2bddbe326918
---
libavfilter/vf_paletteuse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c
index 9067d6d..f8350ac 100644
--- a/libavfilter/vf_paletteuse.c
+++ b/libavfilter/vf_paletteuse.c
@@ -120,8 +120,8 @@ static const AVOption paletteuse_options[] = {
{ "nns_iterative", "iterative search", 0, AV_OPT_TYPE_CONST, {.i64=COLOR_SEARCH_NNS_ITERATIVE}, INT_MIN, INT_MAX, FLAGS, "search" },
{ "nns_recursive", "recursive search", 0, AV_OPT_TYPE_CONST, {.i64=COLOR_SEARCH_NNS_RECURSIVE}, INT_MIN, INT_MAX, FLAGS, "search" },
{ "bruteforce", "brute-force into the palette", 0, AV_OPT_TYPE_CONST, {.i64=COLOR_SEARCH_BRUTEFORCE}, INT_MIN, INT_MAX, FLAGS, "search" },
- { "mean_err", "compute and print mean error", OFFSET(calc_mean_err), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
- { "debug_accuracy", "test color search accuracy", OFFSET(debug_accuracy), AV_OPT_TYPE_FLAGS, {.i64=0}, 0, 1, FLAGS },
+ { "mean_err", "compute and print mean error", OFFSET(calc_mean_err), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
+ { "debug_accuracy", "test color search accuracy", OFFSET(debug_accuracy), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
{ NULL }
};
More information about the ffmpeg-cvslog
mailing list