Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
334b1124
Commit
334b1124
authored
Sep 08, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/fade: use AV_OPT_TYPE_BOOL for alpha option
parent
e1d24e6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_fade.c
libavfilter/vf_fade.c
+1
-1
No files found.
libavfilter/vf_fade.c
View file @
334b1124
...
@@ -384,7 +384,7 @@ static const AVOption fade_options[] = {
...
@@ -384,7 +384,7 @@ static const AVOption fade_options[] = {
OFFSET
(
nb_frames
),
AV_OPT_TYPE_INT
,
{
.
i64
=
25
},
0
,
INT_MAX
,
FLAGS
},
OFFSET
(
nb_frames
),
AV_OPT_TYPE_INT
,
{
.
i64
=
25
},
0
,
INT_MAX
,
FLAGS
},
{
"n"
,
"Number of frames to which the effect should be applied."
,
{
"n"
,
"Number of frames to which the effect should be applied."
,
OFFSET
(
nb_frames
),
AV_OPT_TYPE_INT
,
{
.
i64
=
25
},
0
,
INT_MAX
,
FLAGS
},
OFFSET
(
nb_frames
),
AV_OPT_TYPE_INT
,
{
.
i64
=
25
},
0
,
INT_MAX
,
FLAGS
},
{
"alpha"
,
"fade alpha if it is available on the input"
,
OFFSET
(
alpha
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"alpha"
,
"fade alpha if it is available on the input"
,
OFFSET
(
alpha
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"start_time"
,
"Number of seconds of the beginning of the effect."
,
{
"start_time"
,
"Number of seconds of the beginning of the effect."
,
OFFSET
(
start_time
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
.
},
0
,
INT32_MAX
,
FLAGS
},
OFFSET
(
start_time
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
.
},
0
,
INT32_MAX
,
FLAGS
},
{
"st"
,
"Number of seconds of the beginning of the effect."
,
{
"st"
,
"Number of seconds of the beginning of the effect."
,
...
...
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