summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showvolume.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-08 23:28:44 +0200
committerClément Bœsch <u@pkh.me>2015-09-08 23:28:44 +0200
commit286d625b43bda4fc232037bba9f71088fc1c2a7a (patch)
treef3a71d6a64087d68855e4790d667bbdbcba9f695 /libavfilter/avf_showvolume.c
parentaf0945d912a17133f16199da35bbbd2092a9a3a2 (diff)
avfilter/showvolume: use AV_OPT_TYPE_BOOL for channel name displaying option (t)
Diffstat (limited to 'libavfilter/avf_showvolume.c')
-rw-r--r--libavfilter/avf_showvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showvolume.c b/libavfilter/avf_showvolume.c
index 24f3c142c0..9accfb068f 100644
--- a/libavfilter/avf_showvolume.c
+++ b/libavfilter/avf_showvolume.c
@@ -53,7 +53,7 @@ static const AVOption showvolume_options[] = {
{ "h", "set channel height", OFFSET(h), AV_OPT_TYPE_INT, {.i64=20}, 1, 100, FLAGS },
{ "f", "set fade", OFFSET(f), AV_OPT_TYPE_INT, {.i64=20}, 1, 255, FLAGS },
{ "c", "set volume color expression", OFFSET(color), AV_OPT_TYPE_STRING, {.str="if(gte(VOLUME,-2), if(gte(VOLUME,-1),0xff0000ff, 0xff00ffff),0xff00ff00)"}, 0, 0, FLAGS },
- { "t", "display channel names", OFFSET(draw_text), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS },
+ { "t", "display channel names", OFFSET(draw_text), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS },
{ NULL }
};