diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 00:38:22 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 00:38:22 +0200 |
commit | d1c4e8c7db75710882b22fad468f2bddbe326918 (patch) | |
tree | b5798cb8622a5544256bd764a57e693efac3c972 /libavfilter/vf_paletteuse.c | |
parent | 81e52c6df90d4126520dddd69973dc2739e598a0 (diff) | |
download | ffmpeg-d1c4e8c7db75710882b22fad468f2bddbe326918.tar.gz |
avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy option
Diffstat (limited to 'libavfilter/vf_paletteuse.c')
-rw-r--r-- | libavfilter/vf_paletteuse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c index 9067d6d33c..f8350ac585 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 } }; |