summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/filters.texi7
-rw-r--r--libavfilter/avfilter.c1
-rw-r--r--libavfilter/vf_histeq.c3
3 files changed, 2 insertions, 9 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 72bfce66ff..490bbb817b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3445,12 +3445,7 @@ viewed as an "automatically adjusting contrast filter". This filter is
useful only for correcting degraded or poorly captured source
video.
-The filter accepts parameters as a list of @var{key}=@var{value}
-pairs, separated by ":". If the key of the first options is omitted,
-the arguments are interpreted according to syntax
-@var{strength}:@var{intensity}:@var{antibanding}.
-
-This filter accepts the following named options:
+The filter accepts the following options:
@table @option
@item strength
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 036949d467..23da5292c5 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -679,6 +679,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "frei0r_src") ||
!strcmp(filter->filter->name, "geq" ) ||
!strcmp(filter->filter->name, "gradfun" ) ||
+ !strcmp(filter->filter->name, "histeq" ) ||
!strcmp(filter->filter->name, "hqdn3d" ) ||
!strcmp(filter->filter->name, "ocv" ) ||
!strcmp(filter->filter->name, "life" ) ||
diff --git a/libavfilter/vf_histeq.c b/libavfilter/vf_histeq.c
index 05e1d59a66..f4d7795cbd 100644
--- a/libavfilter/vf_histeq.c
+++ b/libavfilter/vf_histeq.c
@@ -269,8 +269,6 @@ static const AVFilterPad histeq_outputs[] = {
{ NULL }
};
-static const char *const shorthand[] = { "strength", "intensity", "antibanding", NULL };
-
AVFilter avfilter_vf_histeq = {
.name = "histeq",
.description = NULL_IF_CONFIG_SMALL("Apply global color histogram equalization."),
@@ -281,5 +279,4 @@ AVFilter avfilter_vf_histeq = {
.inputs = histeq_inputs,
.outputs = histeq_outputs,
.priv_class = &histeq_class,
- .shorthand = shorthand,
};