From a3cb303a4c2235c4325130bae16c6e84bc4c9c15 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 10 Apr 2013 15:48:02 +0200 Subject: [PATCH] avfilter/blackframe: add "thres" back as alternative Signed-off-by: Michael Niedermayer --- libavfilter/vf_blackframe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index 968d451c61..f782ae27ce 100644 --- a/libavfilter/vf_blackframe.c +++ b/libavfilter/vf_blackframe.c @@ -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 }, };