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
8388e1e2
Commit
8388e1e2
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/perms: switch to an AVOptions-based system.
parent
5afd58fb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
filters.texi
doc/filters.texi
+1
-5
avfilter.c
libavfilter/avfilter.c
+2
-0
f_perms.c
libavfilter/f_perms.c
+0
-4
No files found.
doc/filters.texi
View file @
8388e1e2
...
...
@@ -6344,11 +6344,7 @@ Set read/write permissions for the output frames.
These filters are mainly aimed at developers to test direct path in the
following filter in the filtergraph.
The filters accept parameters as a list of @var{key}=@var{value} pairs,
separated by ":". If the key of the first options is omitted, the argument is
assumed to be the @var{mode}.
A description of the accepted parameters follows.
The filters accept the following options:
@table @option
@item mode
...
...
libavfilter/avfilter.c
View file @
8388e1e2
...
...
@@ -681,6 +681,8 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"pad"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"format"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"noformat"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"perms"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"aperms"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"resample"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"showspectrum"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"silencedetect"
)
||
...
...
libavfilter/f_perms.c
View file @
8388e1e2
...
...
@@ -111,8 +111,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
return
ret
;
}
static
const
char
*
const
shorthand
[]
=
{
"mode"
,
NULL
};
#if CONFIG_APERMS_FILTER
#define aperms_options options
...
...
@@ -143,7 +141,6 @@ AVFilter avfilter_af_aperms = {
.
inputs
=
aperms_inputs
,
.
outputs
=
aperms_outputs
,
.
priv_class
=
&
aperms_class
,
.
shorthand
=
shorthand
,
};
#endif
/* CONFIG_APERMS_FILTER */
...
...
@@ -177,6 +174,5 @@ AVFilter avfilter_vf_perms = {
.
inputs
=
perms_inputs
,
.
outputs
=
perms_outputs
,
.
priv_class
=
&
perms_class
,
.
shorthand
=
shorthand
,
};
#endif
/* CONFIG_PERMS_FILTER */
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