History

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

Clément Bœsch committed 13 years ago

Commit d5226fc1 parent a689a6b3 files · +2 −5Browse files

Unified · Split

3 files
  1. doc/filters.texi +1 −2
  2. libavfilter/avfilter.c +1 −0
  3. libavfilter/vf_stereo3d.c +0 −3
doc/filters.texi+1−2
@@ -5181,8 +5181,7 @@ is set. · 5180 unmodified lines
5181 5181
5182Convert between different stereoscopic image formats.5182Convert between different stereoscopic image formats.
5183 5183
5184This filter accepts the following named options, expressed as a5184The filters accept the following options:
5185sequence of @var{key}=@var{value} pairs, separated by ":".
5186 5185
5187@table @option5186@table @option
5188@item in5187@item in
libavfilter/avfilter.c+1−0
@@ -703,6 +703,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 702 unmodified lines
703 !strcmp(filter->filter->name, "showspectrum") ||703 !strcmp(filter->filter->name, "showspectrum") ||
704 !strcmp(filter->filter->name, "silencedetect") ||704 !strcmp(filter->filter->name, "silencedetect") ||
705 !strcmp(filter->filter->name, "smartblur") ||705 !strcmp(filter->filter->name, "smartblur") ||
706 !strcmp(filter->filter->name, "stereo3d" ) ||
706 !strcmp(filter->filter->name, "subtitles") ||707 !strcmp(filter->filter->name, "subtitles") ||
707 !strcmp(filter->filter->name, "thumbnail") ||708 !strcmp(filter->filter->name, "thumbnail") ||
708 !strcmp(filter->filter->name, "transpose") ||709 !strcmp(filter->filter->name, "transpose") ||
libavfilter/vf_stereo3d.c+0−3
@@ -440,8 +440,6 @@ static const AVFilterPad stereo3d_outputs[] = { · 439 unmodified lines
440 { NULL }440 { NULL }
441};441};
442 442
443static const char *const shorthand[] = { "in", "out", NULL };
444
445AVFilter avfilter_vf_stereo3d = {443AVFilter avfilter_vf_stereo3d = {
446 .name = "stereo3d",444 .name = "stereo3d",
447 .description = NULL_IF_CONFIG_SMALL("Convert video stereoscopic 3D view."),445 .description = NULL_IF_CONFIG_SMALL("Convert video stereoscopic 3D view."),
@@ -450,5 +448,4 @@ AVFilter avfilter_vf_stereo3d = { · 2 unmodified lines
450 .inputs = stereo3d_inputs,448 .inputs = stereo3d_inputs,
451 .outputs = stereo3d_outputs,449 .outputs = stereo3d_outputs,
452 .priv_class = &stereo3d_class,450 .priv_class = &stereo3d_class,
453 .shorthand = shorthand,
454};451};

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