aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_blackframe.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-10 15:48:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-10 15:48:41 +0200
commita3cb303a4c2235c4325130bae16c6e84bc4c9c15 (patch)
treea34bf046351ed20362a8271b9867006ca5d32253 /libavfilter/vf_blackframe.c
parent90efdf98b1ce75dcb45908455f5b194f87d78931 (diff)
downloadffmpeg-a3cb303a4c2235c4325130bae16c6e84bc4c9c15.tar.gz
avfilter/blackframe: add "thres" back as alternative
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_blackframe.c')
-rw-r--r--libavfilter/vf_blackframe.c2
1 files changed, 2 insertions, 0 deletions
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 },
};