diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:22:38 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:22:38 +0200 |
commit | b6249d4f529748aaa66d09d0b56d0c1ffce5e82d (patch) | |
tree | bae65220eab0db1f4d7e022b4013321e619ed38f /libavfilter/asrc_flite.c | |
parent | cb8d71734ca12413893e4f5ba4cdd94840150665 (diff) | |
download | ffmpeg-b6249d4f529748aaa66d09d0b56d0c1ffce5e82d.tar.gz |
avfilter/flite: use AV_OPT_TYPE_BOOL for list_voices option
Diffstat (limited to 'libavfilter/asrc_flite.c')
-rw-r--r-- | libavfilter/asrc_flite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c index 098a1dd134..a99f2dc923 100644 --- a/libavfilter/asrc_flite.c +++ b/libavfilter/asrc_flite.c @@ -51,7 +51,7 @@ typedef struct { #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM static const AVOption flite_options[] = { - { "list_voices", "list voices and exit", OFFSET(list_voices), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS }, + { "list_voices", "list voices and exit", OFFSET(list_voices), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS }, { "nb_samples", "set number of samples per frame", OFFSET(frame_nb_samples), AV_OPT_TYPE_INT, {.i64=512}, 0, INT_MAX, FLAGS }, { "n", "set number of samples per frame", OFFSET(frame_nb_samples), AV_OPT_TYPE_INT, {.i64=512}, 0, INT_MAX, FLAGS }, { "text", "set text to speak", OFFSET(text), AV_OPT_TYPE_STRING, {.str=NULL}, CHAR_MIN, CHAR_MAX, FLAGS }, |