[FFmpeg-cvslog] avfilter/uspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option

Clément Bœsch git at videolan.org
Wed Sep 9 00:48:22 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Wed Sep  9 00:48:03 2015 +0200| [b761033e7f64ba186b232469d064c854ad7e483e] | committer: Clément Bœsch

avfilter/uspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option

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

 libavfilter/vf_uspp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index a89ca1f..bd6c680 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 }
 };
 



More information about the ffmpeg-cvslog mailing list