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
ca7095a9
Commit
ca7095a9
authored
May 22, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_aiir: move response drawing as last step
parent
8c825e43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
af_aiir.c
libavfilter/af_aiir.c
+9
-9
No files found.
libavfilter/af_aiir.c
View file @
ca7095a9
...
...
@@ -1001,15 +1001,6 @@ static int config_output(AVFilterLink *outlink)
check_stability
(
ctx
,
inlink
->
channels
);
}
av_frame_free
(
&
s
->
video
);
if
(
s
->
response
)
{
s
->
video
=
ff_get_video_buffer
(
ctx
->
outputs
[
1
],
s
->
w
,
s
->
h
);
if
(
!
s
->
video
)
return
AVERROR
(
ENOMEM
);
draw_response
(
ctx
,
s
->
video
,
inlink
->
sample_rate
);
}
if
(
s
->
format
==
0
)
av_log
(
ctx
,
AV_LOG_WARNING
,
"tf coefficients format is not recommended for too high number of zeros/poles.
\n
"
);
...
...
@@ -1053,6 +1044,15 @@ static int config_output(AVFilterLink *outlink)
case
AV_SAMPLE_FMT_S16P
:
s
->
iir_channel
=
s
->
process
==
1
?
iir_ch_serial_s16p
:
iir_ch_s16p
;
break
;
}
av_frame_free
(
&
s
->
video
);
if
(
s
->
response
)
{
s
->
video
=
ff_get_video_buffer
(
ctx
->
outputs
[
1
],
s
->
w
,
s
->
h
);
if
(
!
s
->
video
)
return
AVERROR
(
ENOMEM
);
draw_response
(
ctx
,
s
->
video
,
inlink
->
sample_rate
);
}
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