diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:08:20 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:08:20 +0200 |
commit | 816cfd00cb61a09516e82f9a9500187f885f5209 (patch) | |
tree | 97b16e9a7ad3c95b71d3c0feaf0832de8a293cd9 /libavfilter/af_astats.c | |
parent | 1457610d87a02eb9174fb0500da8b0c1a62a2841 (diff) | |
download | ffmpeg-816cfd00cb61a09516e82f9a9500187f885f5209.tar.gz |
avfilter/astats: use AV_OPT_TYPE_BOOL for metadata option
Diffstat (limited to 'libavfilter/af_astats.c')
-rw-r--r-- | libavfilter/af_astats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c index b17d6631db..fa7278eb8d 100644 --- a/libavfilter/af_astats.c +++ b/libavfilter/af_astats.c @@ -57,7 +57,7 @@ typedef struct { static const AVOption astats_options[] = { { "length", "set the window length", OFFSET(time_constant), AV_OPT_TYPE_DOUBLE, {.dbl=.05}, .01, 10, FLAGS }, - { "metadata", "inject metadata in the filtergraph", OFFSET(metadata), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS }, + { "metadata", "inject metadata in the filtergraph", OFFSET(metadata), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS }, { "reset", "recalculate stats after this many frames", OFFSET(reset_count), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS }, { NULL } }; |