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

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


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

avfilter/fspp: use AV_OPT_TYPE_BOOL for use_bframe_qp option

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

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

diff --git a/libavfilter/vf_fspp.c b/libavfilter/vf_fspp.c
index 7bdaa91..e346294 100644
--- a/libavfilter/vf_fspp.c
+++ b/libavfilter/vf_fspp.c
@@ -48,7 +48,7 @@ static const AVOption fspp_options[] = {
     { "quality",       "set quality",                          OFFSET(log2_count),    AV_OPT_TYPE_INT, {.i64 = 4},   4, MAX_LEVEL, FLAGS },
     { "qp",            "force a constant quantizer parameter", OFFSET(qp),            AV_OPT_TYPE_INT, {.i64 = 0},   0, 64,        FLAGS },
     { "strength",      "set filter strength",                  OFFSET(strength),      AV_OPT_TYPE_INT, {.i64 = 0}, -15, 32,        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