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
bd85fee9
Commit
bd85fee9
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/life: switch to an AVOptions-based system.
parent
169880e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
filters.texi
doc/filters.texi
+1
-3
avfilter.c
libavfilter/avfilter.c
+1
-0
vsrc_life.c
libavfilter/vsrc_life.c
+0
-6
No files found.
doc/filters.texi
View file @
bd85fee9
...
...
@@ -6095,9 +6095,7 @@ which specifies the number of neighbor alive cells which will make a
cell stay alive or born. The @option{rule} option allows to specify
the rule to adopt.
This source accepts a list of options in the form of
@var{key}=@var{value} pairs separated by ":". A description of the
accepted options follows.
This source accepts the following options:
@table @option
@item filename, f
...
...
libavfilter/avfilter.c
View file @
bd85fee9
...
...
@@ -680,6 +680,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"gradfun"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lut"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lutyuv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lutrgb"
)
||
...
...
libavfilter/vsrc_life.c
View file @
bd85fee9
...
...
@@ -225,12 +225,6 @@ static int init(AVFilterContext *ctx, const char *args)
LifeContext
*
life
=
ctx
->
priv
;
int
ret
;
life
->
class
=
&
life_class
;
av_opt_set_defaults
(
life
);
if
((
ret
=
av_set_options_string
(
life
,
args
,
"="
,
":"
))
<
0
)
return
ret
;
if
(
!
life
->
w
&&
!
life
->
filename
)
av_opt_set
(
life
,
"size"
,
"320x240"
,
0
);
...
...
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