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
51815181
51825182 Convert between different stereoscopic image formats.
51835183
5184−This filter accepts the following named options, expressed as a
5185−sequence of @var{key}=@var{value} pairs, separated by ":".
5184+The filters accept the following options:
51865185
51875186 @table @option
51885187 @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
703703 !strcmp(filter->filter->name, "showspectrum") ||
704704 !strcmp(filter->filter->name, "silencedetect") ||
705705 !strcmp(filter->filter->name, "smartblur") ||
706+ !strcmp(filter->filter->name, "stereo3d" ) ||
706707 !strcmp(filter->filter->name, "subtitles") ||
707708 !strcmp(filter->filter->name, "thumbnail") ||
708709 !strcmp(filter->filter->name, "transpose") ||
libavfilter/vf_stereo3d.c+0−3
@@ -440,8 +440,6 @@ static const AVFilterPad stereo3d_outputs[] = { · 439 unmodified lines
440440 { NULL }
441441 };
442442
443−static const char *const shorthand[] = { "in", "out", NULL };
444−
445443 AVFilter avfilter_vf_stereo3d = {
446444 .name = "stereo3d",
447445 .description = NULL_IF_CONFIG_SMALL("Convert video stereoscopic 3D view."),
@@ -450,5 +448,4 @@ AVFilter avfilter_vf_stereo3d = { · 2 unmodified lines
450448 .inputs = stereo3d_inputs,
451449 .outputs = stereo3d_outputs,
452450 .priv_class = &stereo3d_class,
453− .shorthand = shorthand,
454451 };

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