1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/tinterlace: switch to an AVOptions-based system.

This commit is contained in:
Clément Bœsch 2013-04-11 11:35:01 +02:00
parent 64a103138c
commit c85f56bb4f
3 changed files with 2 additions and 10 deletions

View File

@ -5465,13 +5465,7 @@ Perform various types of temporal field interlacing.
Frames are counted starting from 1, so the first input frame is Frames are counted starting from 1, so the first input frame is
considered odd. considered odd.
This filter accepts options in the form of @var{key}=@var{value} pairs The filter accepts the following options:
separated by ":".
Alternatively, the @var{mode} option can be specified as a value alone,
optionally followed by a ":" and further ":" separated @var{key}=@var{value}
pairs.
A description of the accepted options follows.
@table @option @table @option

View File

@ -758,6 +758,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!strcmp(filter->filter->name, "testsrc" ) || !strcmp(filter->filter->name, "testsrc" ) ||
!strcmp(filter->filter->name, "thumbnail") || !strcmp(filter->filter->name, "thumbnail") ||
!strcmp(filter->filter->name, "tile") || !strcmp(filter->filter->name, "tile") ||
!strcmp(filter->filter->name, "tinterlace") ||
!strcmp(filter->filter->name, "transpose") || !strcmp(filter->filter->name, "transpose") ||
!strcmp(filter->filter->name, "treble" ) || !strcmp(filter->filter->name, "treble" ) ||
!strcmp(filter->filter->name, "unsharp" ) || !strcmp(filter->filter->name, "unsharp" ) ||

View File

@ -385,8 +385,6 @@ static const AVFilterPad tinterlace_outputs[] = {
{ NULL } { NULL }
}; };
static const char *const shorthand[] = { "mode", NULL };
AVFilter avfilter_vf_tinterlace = { AVFilter avfilter_vf_tinterlace = {
.name = "tinterlace", .name = "tinterlace",
.description = NULL_IF_CONFIG_SMALL("Perform temporal field interlacing."), .description = NULL_IF_CONFIG_SMALL("Perform temporal field interlacing."),
@ -396,5 +394,4 @@ AVFilter avfilter_vf_tinterlace = {
.inputs = tinterlace_inputs, .inputs = tinterlace_inputs,
.outputs = tinterlace_outputs, .outputs = tinterlace_outputs,
.priv_class = &tinterlace_class, .priv_class = &tinterlace_class,
.shorthand = shorthand,
}; };