Commit 2040b428 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/field: switch to AVOption-based system

Also remove mention to syntax explanation which is or will be redundant
and possibly confusing.
parent 6a2fb5b9
...@@ -3112,17 +3112,6 @@ Specify whether to extract the top (if the value is @code{0} or ...@@ -3112,17 +3112,6 @@ Specify whether to extract the top (if the value is @code{0} or
@code{bottom}). @code{bottom}).
@end table @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 @section fieldorder
Transform the field order of the input video. Transform the field order of the input video.
......
...@@ -670,6 +670,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque ...@@ -670,6 +670,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "ebur128" ) || !strcmp(filter->filter->name, "ebur128" ) ||
!strcmp(filter->filter->name, "edgedetect") || !strcmp(filter->filter->name, "edgedetect") ||
!strcmp(filter->filter->name, "fade" ) || !strcmp(filter->filter->name, "fade" ) ||
!strcmp(filter->filter->name, "field" ) ||
!strcmp(filter->filter->name, "fieldorder") || !strcmp(filter->filter->name, "fieldorder") ||
!strcmp(filter->filter->name, "fps" ) || !strcmp(filter->filter->name, "fps" ) ||
!strcmp(filter->filter->name, "frei0r" ) || !strcmp(filter->filter->name, "frei0r" ) ||
......
...@@ -117,5 +117,4 @@ AVFilter avfilter_vf_field = { ...@@ -117,5 +117,4 @@ AVFilter avfilter_vf_field = {
.inputs = field_inputs, .inputs = field_inputs,
.outputs = field_outputs, .outputs = field_outputs,
.priv_class = &field_class, .priv_class = &field_class,
.shorthand = shorthand,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment