History

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

Clément Bœsch committed 13 years ago

Commit c85f56b1 parent 64a10313 files · +2 −10Browse files

Unified · Split

3 files
  1. doc/filters.texi +1 −7
  2. libavfilter/avfilter.c +1 −0
  3. libavfilter/vf_tinterlace.c +0 −3
doc/filters.texi+1−7
@@ -5465,13 +5465,7 @@ Perform various types of temporal field interlacing. · 5464 unmodified lines
54655465 Frames are counted starting from 1, so the first input frame is
54665466 considered odd.
54675467
5468−This filter accepts options in the form of @var{key}=@var{value} pairs
5469−separated by ":".
5470−Alternatively, the @var{mode} option can be specified as a value alone,
5471−optionally followed by a ":" and further ":" separated @var{key}=@var{value}
5472−pairs.
5473−
5474−A description of the accepted options follows.
5468+The filter accepts the following options:
54755469
54765470 @table @option
54775471
libavfilter/avfilter.c+1−0
@@ -758,6 +758,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 757 unmodified lines
758758 !strcmp(filter->filter->name, "testsrc" ) ||
759759 !strcmp(filter->filter->name, "thumbnail") ||
760760 !strcmp(filter->filter->name, "tile") ||
761+ !strcmp(filter->filter->name, "tinterlace") ||
761762 !strcmp(filter->filter->name, "transpose") ||
762763 !strcmp(filter->filter->name, "treble" ) ||
763764 !strcmp(filter->filter->name, "unsharp" ) ||
libavfilter/vf_tinterlace.c+0−3
@@ -385,8 +385,6 @@ static const AVFilterPad tinterlace_outputs[] = { · 384 unmodified lines
385385 { NULL }
386386 };
387387
388−static const char *const shorthand[] = { "mode", NULL };
389−
390388 AVFilter avfilter_vf_tinterlace = {
391389 .name = "tinterlace",
392390 .description = NULL_IF_CONFIG_SMALL("Perform temporal field interlacing."),
@@ -396,5 +394,4 @@ AVFilter avfilter_vf_tinterlace = { · 3 unmodified lines
396394 .inputs = tinterlace_inputs,
397395 .outputs = tinterlace_outputs,
398396 .priv_class = &tinterlace_class,
399− .shorthand = shorthand,
400397 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t