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
31c9660b
Commit
31c9660b
authored
Sep 08, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_ladspa: add special case for 2:2 plugins
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
309fb6ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
af_ladspa.c
libavfilter/af_ladspa.c
+8
-0
No files found.
libavfilter/af_ladspa.c
View file @
31c9660b
...
...
@@ -303,6 +303,10 @@ static int config_output(AVFilterLink *outlink)
outlink
->
format
=
inlink
->
format
;
outlink
->
sample_rate
=
inlink
->
sample_rate
;
if
(
ctx
->
nb_inputs
==
ctx
->
nb_outputs
)
{
outlink
->
channel_layout
=
inlink
->
channel_layout
;
outlink
->
channels
=
inlink
->
channels
;
}
ret
=
0
;
}
else
{
...
...
@@ -612,6 +616,10 @@ static int query_formats(AVFilterContext *ctx)
if
(
!
layouts
)
return
AVERROR
(
ENOMEM
);
ff_set_common_channel_layouts
(
ctx
,
layouts
);
}
else
if
(
s
->
nb_inputs
==
2
&&
s
->
nb_outputs
==
2
)
{
layouts
=
NULL
;
ff_add_channel_layout
(
&
layouts
,
AV_CH_LAYOUT_STEREO
);
ff_set_common_channel_layouts
(
ctx
,
layouts
);
}
else
{
AVFilterLink
*
outlink
=
ctx
->
outputs
[
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