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
3cbf37bf
Commit
3cbf37bf
authored
Oct 08, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_silenceremove: fix max for duration options
parent
1431ff2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
af_silenceremove.c
libavfilter/af_silenceremove.c
+2
-2
No files found.
libavfilter/af_silenceremove.c
View file @
3cbf37bf
...
...
@@ -81,10 +81,10 @@ typedef struct SilenceRemoveContext {
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM
static
const
AVOption
silenceremove_options
[]
=
{
{
"start_periods"
,
NULL
,
OFFSET
(
start_periods
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
9000
,
FLAGS
},
{
"start_duration"
,
NULL
,
OFFSET
(
start_duration
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
},
0
,
9000
,
FLAGS
},
{
"start_duration"
,
NULL
,
OFFSET
(
start_duration
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
},
0
,
INT32_MAX
,
FLAGS
},
{
"start_threshold"
,
NULL
,
OFFSET
(
start_threshold
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
DBL_MAX
,
FLAGS
},
{
"stop_periods"
,
NULL
,
OFFSET
(
stop_periods
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
-
9000
,
9000
,
FLAGS
},
{
"stop_duration"
,
NULL
,
OFFSET
(
stop_duration
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
},
0
,
9000
,
FLAGS
},
{
"stop_duration"
,
NULL
,
OFFSET
(
stop_duration
),
AV_OPT_TYPE_DURATION
,
{.
i64
=
0
},
0
,
INT32_MAX
,
FLAGS
},
{
"stop_threshold"
,
NULL
,
OFFSET
(
stop_threshold
),
AV_OPT_TYPE_DOUBLE
,
{.
dbl
=
0
},
0
,
DBL_MAX
,
FLAGS
},
{
"leave_silence"
,
NULL
,
OFFSET
(
leave_silence
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"detection"
,
NULL
,
OFFSET
(
detection
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
1
,
FLAGS
,
"detection"
},
...
...
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