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
c1f114a8
Commit
c1f114a8
authored
Nov 21, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swresample: use AV_OPT_TYPE_BOOL for linear_interp and cheby options
parent
43ecec0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
options.c
libswresample/options.c
+2
-2
No files found.
libswresample/options.c
View file @
c1f114a8
...
@@ -84,7 +84,7 @@ static const AVOption options[]={
...
@@ -84,7 +84,7 @@ static const AVOption options[]={
{
"filter_size"
,
"set swr resampling filter size"
,
OFFSET
(
filter_size
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
32
},
0
,
INT_MAX
,
PARAM
},
{
"filter_size"
,
"set swr resampling filter size"
,
OFFSET
(
filter_size
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
32
},
0
,
INT_MAX
,
PARAM
},
{
"phase_shift"
,
"set swr resampling phase shift"
,
OFFSET
(
phase_shift
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
10
},
0
,
24
,
PARAM
},
{
"phase_shift"
,
"set swr resampling phase shift"
,
OFFSET
(
phase_shift
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
10
},
0
,
24
,
PARAM
},
{
"linear_interp"
,
"enable linear interpolation"
,
OFFSET
(
linear_interp
)
,
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
PARAM
},
{
"linear_interp"
,
"enable linear interpolation"
,
OFFSET
(
linear_interp
)
,
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
PARAM
},
{
"cutoff"
,
"set cutoff frequency ratio"
,
OFFSET
(
cutoff
)
,
AV_OPT_TYPE_DOUBLE
,{.
dbl
=
0
.
},
0
,
1
,
PARAM
},
{
"cutoff"
,
"set cutoff frequency ratio"
,
OFFSET
(
cutoff
)
,
AV_OPT_TYPE_DOUBLE
,{.
dbl
=
0
.
},
0
,
1
,
PARAM
},
/* duplicate option in order to work with avconv */
/* duplicate option in order to work with avconv */
...
@@ -96,7 +96,7 @@ static const AVOption options[]={
...
@@ -96,7 +96,7 @@ static const AVOption options[]={
{
"precision"
,
"set soxr resampling precision (in bits)"
{
"precision"
,
"set soxr resampling precision (in bits)"
,
OFFSET
(
precision
)
,
AV_OPT_TYPE_DOUBLE
,{.
dbl
=
20
.
0
},
15
.
0
,
33
.
0
,
PARAM
},
,
OFFSET
(
precision
)
,
AV_OPT_TYPE_DOUBLE
,{.
dbl
=
20
.
0
},
15
.
0
,
33
.
0
,
PARAM
},
{
"cheby"
,
"enable soxr Chebyshev passband & higher-precision irrational ratio approximation"
{
"cheby"
,
"enable soxr Chebyshev passband & higher-precision irrational ratio approximation"
,
OFFSET
(
cheby
)
,
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
PARAM
},
,
OFFSET
(
cheby
)
,
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
PARAM
},
{
"min_comp"
,
"set minimum difference between timestamps and audio data (in seconds) below which no timestamp compensation of either kind is applied"
{
"min_comp"
,
"set minimum difference between timestamps and audio data (in seconds) below which no timestamp compensation of either kind is applied"
,
OFFSET
(
min_compensation
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
FLT_MAX
},
0
,
FLT_MAX
,
PARAM
},
,
OFFSET
(
min_compensation
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
FLT_MAX
},
0
,
FLT_MAX
,
PARAM
},
{
"min_hard_comp"
,
"set minimum difference between timestamps and audio data (in seconds) to trigger padding/trimming the data."
{
"min_hard_comp"
,
"set minimum difference between timestamps and audio data (in seconds) to trigger padding/trimming the data."
...
...
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