ffmpeg | branch: master | Clément Bœsch <u...@pkh.me> | Tue Sep 8 23:08:20 2015 +0200| [816cfd00cb61a09516e82f9a9500187f885f5209] | committer: Clément Bœsch
avfilter/astats: use AV_OPT_TYPE_BOOL for metadata option > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=816cfd00cb61a09516e82f9a9500187f885f5209 --- libavfilter/af_astats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c index b17d663..fa7278e 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 } }; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog