diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-09 01:04:28 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-09 01:04:28 +0200 |
commit | c826f9b2848775a428019b2fd907a0f3281fed4e (patch) | |
tree | 7d4d39510ba64bf09c027f5abf23e2e47b3e4ca7 /libavfilter/vf_waveform.c | |
parent | 9f4e096496132f3d42252f04187ad07234913c31 (diff) | |
download | ffmpeg-c826f9b2848775a428019b2fd907a0f3281fed4e.tar.gz |
avfilter/waveform: use AV_OPT_TYPE_BOOL for mirror option
Diffstat (limited to 'libavfilter/vf_waveform.c')
-rw-r--r-- | libavfilter/vf_waveform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c index b2468c11cc..b68d429fb8 100644 --- a/libavfilter/vf_waveform.c +++ b/libavfilter/vf_waveform.c @@ -73,8 +73,8 @@ static const AVOption waveform_options[] = { { "column", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "mode" }, { "intensity", "set intensity", OFFSET(fintensity), AV_OPT_TYPE_FLOAT, {.dbl=0.04}, 0, 1, FLAGS }, { "i", "set intensity", OFFSET(fintensity), AV_OPT_TYPE_FLOAT, {.dbl=0.04}, 0, 1, FLAGS }, - { "mirror", "set mirroring", OFFSET(mirror), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS }, - { "r", "set mirroring", OFFSET(mirror), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS }, + { "mirror", "set mirroring", OFFSET(mirror), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS }, + { "r", "set mirroring", OFFSET(mirror), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS }, { "display", "set display mode", OFFSET(display), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "display" }, { "d", "set display mode", OFFSET(display), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "display" }, { "overlay", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "display" }, |