[FFmpeg-cvslog] avfilter/flite: use AV_OPT_TYPE_BOOL for list_voices option

Clément Bœsch git at videolan.org
Tue Sep 8 23:22:41 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:22:38 2015 +0200| [b6249d4f529748aaa66d09d0b56d0c1ffce5e82d] | committer: Clément Bœsch

avfilter/flite: use AV_OPT_TYPE_BOOL for list_voices option

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6249d4f529748aaa66d09d0b56d0c1ffce5e82d
---

 libavfilter/asrc_flite.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c
index 098a1dd..a99f2dc 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 },



More information about the ffmpeg-cvslog mailing list