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
0c25caa4
Commit
0c25caa4
authored
Mar 31, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/avf_showvolume: let fade be also exactly 0
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
e8d78503
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
filters.texi
doc/filters.texi
+1
-1
avf_showvolume.c
libavfilter/avf_showvolume.c
+1
-1
No files found.
doc/filters.texi
View file @
0c25caa4
...
...
@@ -19936,7 +19936,7 @@ Set channel width, allowed range is [80, 8192]. Default is 400.
Set channel height, allowed range is [1, 900]. Default is 20.
@item f
Set fade, allowed range is [0
.001
, 1]. Default is 0.95.
Set fade, allowed range is [0, 1]. Default is 0.95.
@item c
Set volume color expression.
...
...
libavfilter/avf_showvolume.c
View file @
0c25caa4
...
...
@@ -67,7 +67,7 @@ static const AVOption showvolume_options[] = {
{
"b"
,
"set border width"
,
OFFSET
(
b
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
5
,
FLAGS
},
{
"w"
,
"set channel width"
,
OFFSET
(
w
),
AV_OPT_TYPE_INT
,
{.
i64
=
400
},
80
,
8192
,
FLAGS
},
{
"h"
,
"set channel height"
,
OFFSET
(
h
),
AV_OPT_TYPE_INT
,
{.
i64
=
20
},
1
,
900
,
FLAGS
},
{
"f"
,
"set fade"
,
OFFSET
(
f
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
95
},
0
.
001
,
1
,
FLAGS
},
{
"f"
,
"set fade"
,
OFFSET
(
f
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
.
95
},
0
,
1
,
FLAGS
},
{
"c"
,
"set volume color expression"
,
OFFSET
(
color
),
AV_OPT_TYPE_STRING
,
{.
str
=
"PEAK*255+floor((1-PEAK)*255)*256+0xff000000"
},
0
,
0
,
FLAGS
},
{
"t"
,
"display channel names"
,
OFFSET
(
draw_text
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
FLAGS
},
{
"v"
,
"display volume value"
,
OFFSET
(
draw_volume
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
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