Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
b15c26a2
Commit
b15c26a2
authored
Feb 27, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_acrusher: add timeline support
parent
8bcb7d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
af_acrusher.c
libavfilter/af_acrusher.c
+2
-1
No files found.
libavfilter/af_acrusher.c
View file @
b15c26a2
...
...
@@ -248,7 +248,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
double
sample
=
src
[
c
]
*
level_in
;
sample
=
mix
*
samplereduction
(
s
,
&
s
->
sr
[
c
],
sample
)
+
src
[
c
]
*
(
1
.
-
mix
)
*
level_in
;
dst
[
c
]
=
bitreduction
(
s
,
sample
)
*
level_out
;
dst
[
c
]
=
ctx
->
is_disabled
?
src
[
c
]
:
bitreduction
(
s
,
sample
)
*
level_out
;
}
src
+=
c
;
dst
+=
c
;
...
...
@@ -342,4 +342,5 @@ const AVFilter ff_af_acrusher = {
FILTER_OUTPUTS
(
avfilter_af_acrusher_outputs
),
FILTER_SINGLE_SAMPLEFMT
(
AV_SAMPLE_FMT_DBL
),
.
process_command
=
process_command
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
,
};
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