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
cb2327e8
Commit
cb2327e8
authored
Apr 11, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/aselect: switch to an AVOptions-based system.
parent
bca4cafa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
filters.texi
doc/filters.texi
+1
-1
avfilter.c
libavfilter/avfilter.c
+1
-0
f_select.c
libavfilter/f_select.c
+0
-3
No files found.
doc/filters.texi
View file @
cb2327e8
...
@@ -6376,7 +6376,7 @@ This filter accepts the following options:
...
@@ -6376,7 +6376,7 @@ This filter accepts the following options:
@table @option
@table @option
@item expr
@item expr
, e
An expression, which is evaluated for each input frame. If the expression is
An expression, which is evaluated for each input frame. If the expression is
evaluated to a non-zero value, the frame is selected and passed to the output,
evaluated to a non-zero value, the frame is selected and passed to the output,
otherwise it is discarded.
otherwise it is discarded.
...
...
libavfilter/avfilter.c
View file @
cb2327e8
...
@@ -766,6 +766,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
...
@@ -766,6 +766,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"unsharp"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"unsharp"
)
||
// !strcmp(filter->filter->name, "scale" ) ||
// !strcmp(filter->filter->name, "scale" ) ||
!
strcmp
(
filter
->
filter
->
name
,
"select"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"select"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"aselect"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"volume"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"volume"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"yadif"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"yadif"
)
||
0
0
...
...
libavfilter/f_select.c
View file @
cb2327e8
...
@@ -388,8 +388,6 @@ static int query_formats(AVFilterContext *ctx)
...
@@ -388,8 +388,6 @@ static int query_formats(AVFilterContext *ctx)
return
0
;
return
0
;
}
}
static
const
char
*
const
shorthand
[]
=
{
"expr"
,
NULL
};
#if CONFIG_ASELECT_FILTER
#if CONFIG_ASELECT_FILTER
#define OFFSET(x) offsetof(SelectContext, x)
#define OFFSET(x) offsetof(SelectContext, x)
...
@@ -445,7 +443,6 @@ AVFilter avfilter_af_aselect = {
...
@@ -445,7 +443,6 @@ AVFilter avfilter_af_aselect = {
.
inputs
=
avfilter_af_aselect_inputs
,
.
inputs
=
avfilter_af_aselect_inputs
,
.
outputs
=
avfilter_af_aselect_outputs
,
.
outputs
=
avfilter_af_aselect_outputs
,
.
priv_class
=
&
aselect_class
,
.
priv_class
=
&
aselect_class
,
.
shorthand
=
shorthand
,
};
};
#endif
/* CONFIG_ASELECT_FILTER */
#endif
/* CONFIG_ASELECT_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