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
c337b0f8
Commit
c337b0f8
authored
Feb 22, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: remove pts rewriting code
This is not needed at all.
parent
a473e11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
af_afir.c
libavfilter/af_afir.c
+1
-7
No files found.
libavfilter/af_afir.c
View file @
c337b0f8
...
...
@@ -220,17 +220,12 @@ static int fir_frame(AudioFIRContext *s, AVFrame *in, AVFilterLink *outlink)
av_frame_free
(
&
in
);
return
AVERROR
(
ENOMEM
);
}
out
->
pts
=
in
->
pts
;
if
(
s
->
pts
==
AV_NOPTS_VALUE
)
s
->
pts
=
in
->
pts
;
s
->
in
=
in
;
ff_filter_execute
(
ctx
,
fir_channels
,
out
,
NULL
,
FFMIN
(
outlink
->
channels
,
ff_filter_get_nb_threads
(
ctx
)));
out
->
pts
=
s
->
pts
;
if
(
s
->
pts
!=
AV_NOPTS_VALUE
)
s
->
pts
+=
av_rescale_q
(
out
->
nb_samples
,
(
AVRational
){
1
,
outlink
->
sample_rate
},
outlink
->
time_base
);
av_frame_free
(
&
in
);
s
->
in
=
NULL
;
...
...
@@ -773,7 +768,6 @@ static int config_output(AVFilterLink *outlink)
s
->
nb_channels
=
outlink
->
channels
;
s
->
nb_coef_channels
=
ctx
->
inputs
[
1
+
s
->
selir
]
->
channels
;
s
->
pts
=
AV_NOPTS_VALUE
;
return
0
;
}
...
...
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