Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6a5c7b98
Commit
6a5c7b98
authored
Dec 15, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: fix missing S/PDIF encapsulation
parent
73cc7aaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
src/audio_output/filters.c
src/audio_output/filters.c
+14
-5
No files found.
src/audio_output/filters.c
View file @
6a5c7b98
...
...
@@ -141,11 +141,7 @@ static int aout_FiltersPipelineCreate(vlc_object_t *obj, filter_t **filters,
if
(
n
==
max
)
goto
overflow
;
filter_t
*
f
=
NULL
;
if
(
!
AOUT_FMT_LINEAR
(
outfmt
))
f
=
TryFormat
(
obj
,
outfmt
->
i_format
,
&
input
);
if
(
f
==
NULL
)
f
=
TryFormat
(
obj
,
VLC_CODEC_FI32
,
&
input
);
filter_t
*
f
=
TryFormat
(
obj
,
VLC_CODEC_FI32
,
&
input
);
if
(
f
==
NULL
)
f
=
TryFormat
(
obj
,
VLC_CODEC_FL32
,
&
input
);
if
(
f
==
NULL
)
...
...
@@ -485,7 +481,20 @@ int aout_FiltersNew (audio_output_t *aout,
var_AddCallback
(
aout
,
"equalizer"
,
EqualizerCallback
,
NULL
);
if
(
!
AOUT_FMT_LINEAR
(
outfmt
))
{
/* Non-linear output: just convert formats, no filters/visu */
if
(
!
AOUT_FMTS_IDENTICAL
(
infmt
,
outfmt
))
{
aout_FormatsPrint
(
aout
,
"pass-through:"
,
infmt
,
outfmt
);
owner
->
filters
[
0
]
=
FindConverter
(
VLC_OBJECT
(
aout
),
infmt
,
outfmt
);
if
(
owner
->
filters
[
0
]
==
NULL
)
{
msg_Err
(
aout
,
"cannot setup pass-through"
);
goto
error
;
}
owner
->
nb_filters
++
;
}
return
0
;
}
const
char
*
scaletempo
=
var_InheritBool
(
aout
,
"audio-time-stretch"
)
?
"scaletempo"
:
NULL
;
...
...
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