[FFmpeg-cvslog] avfilter/showcqt: use AV_OPT_TYPE_BOOL for fullhd option
Clément Bœsch
git at videolan.org
Tue Sep 8 23:27:09 CEST 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep 8 23:26:30 2015 +0200| [af0945d912a17133f16199da35bbbd2092a9a3a2] | committer: Clément Bœsch
avfilter/showcqt: use AV_OPT_TYPE_BOOL for fullhd option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af0945d912a17133f16199da35bbbd2092a9a3a2
---
libavfilter/avf_showcqt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index 85f9ea9..472520c 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -105,7 +105,7 @@ static const AVOption showcqt_options[] = {
{ "coeffclamp", "set coeffclamp", OFFSET(coeffclamp), AV_OPT_TYPE_FLOAT, { .dbl = 1 }, 0.1, 10, FLAGS },
{ "gamma", "set gamma", OFFSET(gamma), AV_OPT_TYPE_FLOAT, { .dbl = 3 }, 1, 7, FLAGS },
{ "gamma2", "set gamma of bargraph", OFFSET(gamma2), AV_OPT_TYPE_FLOAT, { .dbl = 1 }, 1, 7, FLAGS },
- { "fullhd", "set full HD resolution", OFFSET(fullhd), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, FLAGS },
+ { "fullhd", "set full HD resolution", OFFSET(fullhd), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
{ "fps", "set video fps", OFFSET(fps), AV_OPT_TYPE_INT, { .i64 = 25 }, 10, 100, FLAGS },
{ "count", "set number of transform per frame", OFFSET(count), AV_OPT_TYPE_INT, { .i64 = 6 }, 1, 30, FLAGS },
{ "fontfile", "set font file", OFFSET(fontfile), AV_OPT_TYPE_STRING, { .str = NULL }, CHAR_MIN, CHAR_MAX, FLAGS },
More information about the ffmpeg-cvslog
mailing list