[FFmpeg-cvslog] avfilter/elbg: use AV_OPT_TYPE_BOOL for pal8 option

Clément Bœsch git at videolan.org
Tue Sep 8 23:59:31 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:58:59 2015 +0200| [e1d24e6c1ec2e51eac82cea42bf581eebd664708] | committer: Clément Bœsch

avfilter/elbg: use AV_OPT_TYPE_BOOL for pal8 option

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

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

diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c
index 749c6b4..9805ecc 100644
--- a/libavfilter/vf_elbg.c
+++ b/libavfilter/vf_elbg.c
@@ -58,7 +58,7 @@ static const AVOption elbg_options[] = {
     { "n",        "set max number of steps used to compute the mapping", OFFSET(max_steps_nb), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, FLAGS },
     { "seed", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, {.i64 = -1}, -1, UINT32_MAX, FLAGS },
     { "s",    "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, UINT32_MAX, FLAGS },
-    { "pal8", "set the pal8 output", OFFSET(pal8), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
+    { "pal8", "set the pal8 output", OFFSET(pal8), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list