diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 01:43:06 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 01:43:06 +0300 |
commit | 9b8e514c14bff68b4086f22dddded4ea9c880a61 (patch) | |
tree | 62be8415f2041fa09a018206ff0a45ca5c9d0940 /libavfilter/vf_spp.c | |
parent | d1c4e8c7db75710882b22fad468f2bddbe326918 (diff) |
avfilter/spp: use AV_OPT_TYPE_BOOL for use_bframe_qp option
Diffstat (limited to 'libavfilter/vf_spp.c')
-rw-r--r-- | libavfilter/vf_spp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index 9d99130c30..11954542bb 100644 --- a/libavfilter/vf_spp.c +++ b/libavfilter/vf_spp.c @@ -63,7 +63,7 @@ static const AVOption spp_options[] = { { "mode", "set thresholding mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64 = MODE_HARD}, 0, NB_MODES - 1, FLAGS, "mode" }, { "hard", "hard thresholding", 0, AV_OPT_TYPE_CONST, {.i64 = MODE_HARD}, INT_MIN, INT_MAX, FLAGS, "mode" }, { "soft", "soft thresholding", 0, AV_OPT_TYPE_CONST, {.i64 = MODE_SOFT}, INT_MIN, INT_MAX, FLAGS, "mode" }, - { "use_bframe_qp", "use B-frames' QP", OFFSET(use_bframe_qp), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS }, + { "use_bframe_qp", "use B-frames' QP", OFFSET(use_bframe_qp), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS }, { NULL } }; |