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
c98d8b2b
Commit
c98d8b2b
authored
Nov 21, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vsrc_sierpinski: change seed option type
parent
d83304d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vsrc_sierpinski.c
libavfilter/vsrc_sierpinski.c
+2
-2
No files found.
libavfilter/vsrc_sierpinski.c
View file @
c98d8b2b
...
...
@@ -43,7 +43,7 @@ typedef struct SierpinskiContext {
AVRational
frame_rate
;
uint64_t
pts
;
unsigned
in
t
seed
;
int64_
t
seed
;
int
jump
;
int
pos_x
,
pos_y
;
...
...
@@ -61,7 +61,7 @@ static const AVOption sierpinski_options[] = {
{
"s"
,
"set frame size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"640x480"
},
0
,
0
,
FLAGS
},
{
"rate"
,
"set frame rate"
,
OFFSET
(
frame_rate
),
AV_OPT_TYPE_VIDEO_RATE
,
{.
str
=
"25"
},
0
,
0
,
FLAGS
},
{
"r"
,
"set frame rate"
,
OFFSET
(
frame_rate
),
AV_OPT_TYPE_VIDEO_RATE
,
{.
str
=
"25"
},
0
,
0
,
FLAGS
},
{
"seed"
,
"set the seed"
,
OFFSET
(
seed
),
AV_OPT_TYPE_INT
,
{.
i64
=-
1
},
-
1
,
UINT32_MAX
,
FLAGS
},
{
"seed"
,
"set the seed"
,
OFFSET
(
seed
),
AV_OPT_TYPE_INT
64
,
{.
i64
=-
1
},
-
1
,
UINT32_MAX
,
FLAGS
},
{
"jump"
,
"set the jump"
,
OFFSET
(
jump
),
AV_OPT_TYPE_INT
,
{.
i64
=
100
},
1
,
10000
,
FLAGS
},
{
"type"
,
"set fractal type"
,
OFFSET
(
type
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
,
"type"
},
{
"carpet"
,
"sierpinski carpet"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
0
},
0
,
0
,
FLAGS
,
"type"
},
...
...
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