diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:32:06 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:32:10 +0200 |
commit | b599d2164251669069cabbe9356a39c1632f27fe (patch) | |
tree | 7392326ef17832fcbfd0b1da390b8353605424d9 /libavfilter | |
parent | 286d625b43bda4fc232037bba9f71088fc1c2a7a (diff) | |
download | ffmpeg-b599d2164251669069cabbe9356a39c1632f27fe.tar.gz |
avfilter/showwaves: use AV_OPT_TYPE_BOOL for split_channels option
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_showwaves.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index a19acf54b9..ec5291a405 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -83,7 +83,7 @@ static const AVOption showwaves_options[] = { { "n", "set how many samples to show in the same point", OFFSET(n), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS }, { "rate", "set video rate", OFFSET(rate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, FLAGS }, { "r", "set video rate", OFFSET(rate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, FLAGS }, - { "split_channels", "draw channels separately", OFFSET(split_channels), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS }, + { "split_channels", "draw channels separately", OFFSET(split_channels), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS }, { NULL } }; |