aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-11 00:14:06 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-11 00:16:25 +0200
commit2040b428b45fa4f0167acc40a49771f92cd96769 (patch)
tree355f62af68a5462782e29cd6b7579068fab14a90
parent6a2fb5b90cb77bbcd33102b6cfa76a786152c1c3 (diff)
downloadffmpeg-2040b428b45fa4f0167acc40a49771f92cd96769.tar.gz
lavfi/field: switch to AVOption-based system
Also remove mention to syntax explanation which is or will be redundant and possibly confusing.
-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,
};