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
b15fa6b2
Commit
b15fa6b2
authored
Nov 08, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should fix #4224.
parent
2c9223f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/stream_out/transcode/audio.c
modules/stream_out/transcode/audio.c
+4
-3
No files found.
modules/stream_out/transcode/audio.c
View file @
b15fa6b2
...
@@ -284,6 +284,10 @@ int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -284,6 +284,10 @@ int transcode_audio_new( sout_stream_t *p_stream,
es_format_t
fmt_fl32
=
fmt_last
;
es_format_t
fmt_fl32
=
fmt_last
;
fmt_fl32
.
i_codec
=
fmt_fl32
.
i_codec
=
fmt_fl32
.
audio
.
i_format
=
VLC_CODEC_FL32
;
fmt_fl32
.
audio
.
i_format
=
VLC_CODEC_FL32
;
id
->
p_uf_chain
=
filter_chain_New
(
p_stream
,
"audio filter"
,
false
,
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
filter_chain_Reset
(
id
->
p_uf_chain
,
&
fmt_last
,
&
fmt_fl32
);
if
(
transcode_audio_filter_chain_build
(
p_stream
,
id
->
p_uf_chain
,
if
(
transcode_audio_filter_chain_build
(
p_stream
,
id
->
p_uf_chain
,
&
fmt_fl32
,
&
fmt_last
)
)
&
fmt_fl32
,
&
fmt_last
)
)
{
{
...
@@ -292,9 +296,6 @@ int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -292,9 +296,6 @@ int transcode_audio_new( sout_stream_t *p_stream,
}
}
fmt_last
=
fmt_fl32
;
fmt_last
=
fmt_fl32
;
id
->
p_uf_chain
=
filter_chain_New
(
p_stream
,
"audio filter"
,
false
,
transcode_audio_filter_allocation_init
,
NULL
,
NULL
);
filter_chain_Reset
(
id
->
p_uf_chain
,
&
fmt_last
,
&
fmt_fl32
);
if
(
filter_chain_AppendFromString
(
id
->
p_uf_chain
,
p_sys
->
psz_af
)
>
0
)
if
(
filter_chain_AppendFromString
(
id
->
p_uf_chain
,
p_sys
->
psz_af
)
>
0
)
fmt_last
=
*
filter_chain_GetFmtOut
(
id
->
p_uf_chain
);
fmt_last
=
*
filter_chain_GetFmtOut
(
id
->
p_uf_chain
);
}
}
...
...
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