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
64df092b
Commit
64df092b
authored
Jun 01, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr: fix a few typo.
parent
abf5f6ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
swresample.c
libswresample/swresample.c
+3
-3
No files found.
libswresample/swresample.c
View file @
64df092b
...
...
@@ -84,9 +84,9 @@ static const AVOption options[]={
,
OFFSET
(
min_compensation
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
FLT_MAX
},
0
,
FLT_MAX
,
PARAM
},
{
"min_hard_comp"
,
"Minimum difference between timestamps and audio data (in seconds) to trigger padding/trimming the data."
,
OFFSET
(
min_hard_compensation
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
0
.
1
},
0
,
INT_MAX
,
PARAM
},
{
"comp_duration"
,
"Duration (in seconds) over which data is stretched/squeeze
e
d to make it match the timestamps."
{
"comp_duration"
,
"Duration (in seconds) over which data is stretched/squeezed to make it match the timestamps."
,
OFFSET
(
soft_compensation_duration
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
1
},
0
,
INT_MAX
,
PARAM
},
{
"max_soft_comp"
,
"Maximum factor by which data is stretched/squeeze
e
d to make it match the timestamps."
{
"max_soft_comp"
,
"Maximum factor by which data is stretched/squeezed to make it match the timestamps."
,
OFFSET
(
max_soft_compensation
),
AV_OPT_TYPE_FLOAT
,{.
dbl
=
0
},
INT_MIN
,
INT_MAX
,
PARAM
},
{
0
}
...
...
@@ -226,7 +226,7 @@ int swr_init(struct SwrContext *s){
}
else
if
(
av_get_planar_sample_fmt
(
s
->
in_sample_fmt
)
<=
AV_SAMPLE_FMT_FLTP
){
s
->
int_sample_fmt
=
AV_SAMPLE_FMT_FLTP
;
}
else
{
av_log
(
s
,
AV_LOG_DEBUG
,
"Using double precis
s
ion mode
\n
"
);
av_log
(
s
,
AV_LOG_DEBUG
,
"Using double precision mode
\n
"
);
s
->
int_sample_fmt
=
AV_SAMPLE_FMT_DBLP
;
}
}
...
...
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