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
28dee96e
Commit
28dee96e
authored
Dec 17, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix audio filter selection in transcode.
parent
ab734ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+6
-6
No files found.
modules/stream_out/transcode.c
View file @
28dee96e
...
@@ -1329,13 +1329,13 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1329,13 +1329,13 @@ static int transcode_audio_new( sout_stream_t *p_stream,
/* Initialization of encoder format structures */
/* Initialization of encoder format structures */
es_format_Init
(
&
id
->
p_encoder
->
fmt_in
,
AUDIO_ES
,
AOUT_FMT_S16_NE
);
es_format_Init
(
&
id
->
p_encoder
->
fmt_in
,
AUDIO_ES
,
AOUT_FMT_S16_NE
);
id
->
p_encoder
->
fmt_in
.
audio
.
i_format
=
AOUT_FMT_S16_NE
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_format
=
AOUT_FMT_S16_NE
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_rate
=
id
->
p_
en
coder
->
fmt_out
.
audio
.
i_rate
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_rate
=
id
->
p_
de
coder
->
fmt_out
.
audio
.
i_rate
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_physical_channels
=
id
->
p_encoder
->
fmt_in
.
audio
.
i_physical_channels
=
id
->
p_
en
coder
->
fmt_out
.
audio
.
i_physical_channels
;
id
->
p_
de
coder
->
fmt_out
.
audio
.
i_physical_channels
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_original_channels
=
id
->
p_encoder
->
fmt_in
.
audio
.
i_original_channels
=
id
->
p_
en
coder
->
fmt_out
.
audio
.
i_original_channels
;
id
->
p_
de
coder
->
fmt_out
.
audio
.
i_original_channels
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_channels
=
id
->
p_encoder
->
fmt_in
.
audio
.
i_channels
=
id
->
p_
en
coder
->
fmt_out
.
audio
.
i_channels
;
id
->
p_
de
coder
->
fmt_out
.
audio
.
i_channels
;
id
->
p_encoder
->
fmt_in
.
audio
.
i_bitspersample
=
id
->
p_encoder
->
fmt_in
.
audio
.
i_bitspersample
=
audio_BitsPerSample
(
id
->
p_encoder
->
fmt_in
.
i_codec
);
audio_BitsPerSample
(
id
->
p_encoder
->
fmt_in
.
i_codec
);
...
@@ -1355,8 +1355,8 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1355,8 +1355,8 @@ static int transcode_audio_new( sout_stream_t *p_stream,
audio_BitsPerSample
(
id
->
p_encoder
->
fmt_in
.
i_codec
);
audio_BitsPerSample
(
id
->
p_encoder
->
fmt_in
.
i_codec
);
/* Load conversion filters */
/* Load conversion filters */
if
(
fmt_last
.
audio
.
i_channels
!=
id
->
p_encoder
->
fmt_in
.
audio
.
i_channels
||
if
(
(
fmt_last
.
audio
.
i_channels
!=
id
->
p_encoder
->
fmt_in
.
audio
.
i_channels
)
||
fmt_last
.
audio
.
i_rate
!=
id
->
p_encoder
->
fmt_in
.
audio
.
i_rate
)
(
fmt_last
.
audio
.
i_rate
!=
id
->
p_encoder
->
fmt_in
.
audio
.
i_rate
)
)
{
{
/* We'll have to go through fl32 first */
/* We'll have to go through fl32 first */
es_format_t
fmt_out
=
id
->
p_encoder
->
fmt_in
;
es_format_t
fmt_out
=
id
->
p_encoder
->
fmt_in
;
...
...
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