avfilter/blackframe: add "thres" back as alternative
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Apr 2013 13:48:02 +0000 (15:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Apr 2013 13:48:41 +0000 (15:48 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_blackframe.c

index 968d451..f782ae2 100644 (file)
@@ -96,6 +96,8 @@ static const AVOption blackframe_options[] = {
         "for the frame to be considered black.", OFFSET(bamount), AV_OPT_TYPE_INT, { .i64 = 98 }, 0, 100,     FLAGS },
     { "threshold", "threshold below which a pixel value is considered black",
                                                  OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255,     FLAGS },
+    { "thresh", "threshold below which a pixel value is considered black",
+                                                 OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255,     FLAGS },
     { NULL },
 };