summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/filters.texi11
-rw-r--r--libavfilter/avfilter.c1
-rw-r--r--libavfilter/vf_field.c1
3 files changed, 1 insertions, 12 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 251bcb5bc7..b2d375df5a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3112,17 +3112,6 @@ Specify whether to extract the top (if the value is @code{0} or
@code{bottom}).
@end table
-If the option key is not specified, the first value sets the @var{type}
-option. For example:
-@example
-field=bottom
-@end example
-
-is equivalent to:
-@example
-field=type=bottom
-@end example
-
@section fieldorder
Transform the field order of the input video.
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 71d5e9cc4e..753567fe81 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -670,6 +670,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "ebur128" ) ||
!strcmp(filter->filter->name, "edgedetect") ||
!strcmp(filter->filter->name, "fade" ) ||
+ !strcmp(filter->filter->name, "field" ) ||
!strcmp(filter->filter->name, "fieldorder") ||
!strcmp(filter->filter->name, "fps" ) ||
!strcmp(filter->filter->name, "frei0r" ) ||
diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c
index eb8680df9e..c113512b74 100644
--- a/libavfilter/vf_field.c
+++ b/libavfilter/vf_field.c
@@ -117,5 +117,4 @@ AVFilter avfilter_vf_field = {
.inputs = field_inputs,
.outputs = field_outputs,
.priv_class = &field_class,
- .shorthand = shorthand,
};