aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-09 00:48:03 +0200
committerClément Bœsch <u@pkh.me>2015-09-09 00:48:03 +0200
commitb761033e7f64ba186b232469d064c854ad7e483e (patch)
tree0c8e7da3c8ab16fd75549ac8d6ffd75987f40798
parentb0431383cb7b56c4043a317ee2165a7de6053342 (diff)
downloadffmpeg-b761033e7f64ba186b232469d064c854ad7e483e.tar.gz
avfilter/uspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option
-rw-r--r--libavfilter/vf_uspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index a89ca1f9d7..bd6c680eed 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -61,7 +61,7 @@ typedef struct {
static const AVOption uspp_options[] = {
{ "quality", "set quality", OFFSET(log2_count), AV_OPT_TYPE_INT, {.i64 = 3}, 0, MAX_LEVEL, FLAGS },
{ "qp", "force a constant quantizer parameter", OFFSET(qp), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 63, FLAGS },
- { "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 }
};