diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:48:49 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:48:49 +0200 |
commit | 96dbc5bdf9f5f2c42f0299760513d9e12869bbb7 (patch) | |
tree | 97c78c20c47c0b55ad2daad308501a7f847bd380 /libavfilter | |
parent | fa83b551610d784afd74ea2e6cd506d465bc5453 (diff) | |
download | ffmpeg-96dbc5bdf9f5f2c42f0299760513d9e12869bbb7.tar.gz |
avfilter/decimate: use AV_OPT_TYPE_BOOL for ppsrc and chroma options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_decimate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.c index d352665c0e..ae15ebe36e 100644 --- a/libavfilter/vf_decimate.c +++ b/libavfilter/vf_decimate.c @@ -71,8 +71,8 @@ static const AVOption decimate_options[] = { { "scthresh", "set scene change threshold", OFFSET(scthresh_flt), AV_OPT_TYPE_DOUBLE, {.dbl = 15.0}, 0, 100, FLAGS }, { "blockx", "set the size of the x-axis blocks used during metric calculations", OFFSET(blockx), AV_OPT_TYPE_INT, {.i64 = 32}, 4, 1<<9, FLAGS }, { "blocky", "set the size of the y-axis blocks used during metric calculations", OFFSET(blocky), AV_OPT_TYPE_INT, {.i64 = 32}, 4, 1<<9, FLAGS }, - { "ppsrc", "mark main input as a pre-processed input and activate clean source input stream", OFFSET(ppsrc), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS }, - { "chroma", "set whether or not chroma is considered in the metric calculations", OFFSET(chroma), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS }, + { "ppsrc", "mark main input as a pre-processed input and activate clean source input stream", OFFSET(ppsrc), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS }, + { "chroma", "set whether or not chroma is considered in the metric calculations", OFFSET(chroma), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS }, { NULL } }; |