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
a752b9b8
Commit
a752b9b8
authored
Dec 22, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: use the new swr -async parameter instead of a set of parameters.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f9e55c0f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ffmpeg_filter.c
ffmpeg_filter.c
+3
-3
No files found.
ffmpeg_filter.c
View file @
a752b9b8
...
...
@@ -661,9 +661,9 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter,
if
(
audio_sync_method
>
0
)
{
char
args
[
256
]
=
{
0
};
av_strlcatf
(
args
,
sizeof
(
args
),
"
min_comp=0.001:min_hard_comp=%f"
,
audio_drift_threshol
d
);
if
(
audio_
sync_method
>
1
)
av_strlcatf
(
args
,
sizeof
(
args
),
":m
ax_soft_comp=%f"
,
audio_sync_method
/
(
double
)
ist
->
st
->
codec
->
sample_rate
);
av_strlcatf
(
args
,
sizeof
(
args
),
"
async=%d"
,
audio_sync_metho
d
);
if
(
audio_
drift_threshold
!=
0
.
1
)
av_strlcatf
(
args
,
sizeof
(
args
),
":m
in_hard_comp=%f"
,
audio_drift_threshold
);
AUTO_INSERT_FILTER_INPUT
(
"-async"
,
"aresample"
,
args
);
}
...
...
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