]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_astats.c
aaccoder: tweak PNS implementation further
[ffmpeg] / libavfilter / af_astats.c
index b17d6631db4980ab0a36244b2400cca5dcfcef9a..fa7278eb8d355eaf4a93592c1bca66e865055197 100644 (file)
@@ -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 }
 };