Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
77add967
Commit
77add967
authored
Apr 11, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/setfield: switch to an AVOptions-based system.
parent
73c1a00e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
filters.texi
doc/filters.texi
+7
-3
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_setfield.c
libavfilter/vf_setfield.c
+0
-3
No files found.
doc/filters.texi
View file @
77add967
...
...
@@ -5057,9 +5057,12 @@ output frames. It does not change the input frame, but only sets the
corresponding property, which affects how the frame is treated by
following filters (e.g. @code{fieldorder} or @code{yadif}).
This filter accepts a single option @option{mode}, which can be
specified either by setting @code{mode=VALUE} or setting the value
alone. Available values are:
The filter accepts the following options:
@table @option
@item mode
Available values are:
@table @samp
@item auto
...
...
@@ -5074,6 +5077,7 @@ Mark the frame as top-field-first.
@item prog
Mark the frame as progressive.
@end table
@end table
@section showinfo
...
...
libavfilter/avfilter.c
View file @
77add967
...
...
@@ -751,6 +751,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"setpts"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"settb"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"asettb"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"setfield"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"showspectrum"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"silencedetect"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"sine"
)
||
...
...
libavfilter/vf_setfield.c
View file @
77add967
...
...
@@ -85,8 +85,6 @@ static const AVFilterPad setfield_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"mode"
,
NULL
};
AVFilter
avfilter_vf_setfield
=
{
.
name
=
"setfield"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Force field for the output video frame."
),
...
...
@@ -94,5 +92,4 @@ AVFilter avfilter_vf_setfield = {
.
inputs
=
setfield_inputs
,
.
outputs
=
setfield_outputs
,
.
priv_class
=
&
setfield_class
,
.
shorthand
=
shorthand
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment