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
7114282a
Commit
7114282a
authored
Sep 08, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/life: use AV_OPT_TYPE_BOOL for a stitch option
parent
7b600720
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsrc_life.c
libavfilter/vsrc_life.c
+1
-1
No files found.
libavfilter/vsrc_life.c
View file @
7114282a
...
...
@@ -89,7 +89,7 @@ static const AVOption life_options[] = {
{
"ratio"
,
"set fill ratio for filling initial grid randomly"
,
OFFSET
(
random_fill_ratio
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
1
/
M_PHI
},
0
,
1
,
FLAGS
},
{
"random_seed"
,
"set the seed for filling the initial grid randomly"
,
OFFSET
(
random_seed
),
AV_OPT_TYPE_INT
,
{.
i64
=-
1
},
-
1
,
UINT32_MAX
,
FLAGS
},
{
"seed"
,
"set the seed for filling the initial grid randomly"
,
OFFSET
(
random_seed
),
AV_OPT_TYPE_INT
,
{.
i64
=-
1
},
-
1
,
UINT32_MAX
,
FLAGS
},
{
"stitch"
,
"stitch boundaries"
,
OFFSET
(
stitch
),
AV_OPT_TYPE_
INT
,
{.
i64
=
1
},
0
,
1
,
FLAGS
},
{
"stitch"
,
"stitch boundaries"
,
OFFSET
(
stitch
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
1
},
0
,
1
,
FLAGS
},
{
"mold"
,
"set mold speed for dead cells"
,
OFFSET
(
mold
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
0xFF
,
FLAGS
},
{
"life_color"
,
"set life color"
,
OFFSET
(
life_color
),
AV_OPT_TYPE_COLOR
,
{.
str
=
"white"
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
{
"death_color"
,
"set death color"
,
OFFSET
(
death_color
),
AV_OPT_TYPE_COLOR
,
{.
str
=
"black"
},
CHAR_MIN
,
CHAR_MAX
,
FLAGS
},
...
...
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