Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f991c020
Commit
f991c020
authored
Jun 22, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code.
parent
d4c651d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+1
-24
No files found.
modules/stream_out/transcode.c
View file @
f991c020
...
...
@@ -1112,6 +1112,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
{
sout_stream_sys_t
*
p_sys
=
p_stream
->
p_sys
;
es_format_t
fmt_last
;
int
i
;
/*
* Open decoder
...
...
@@ -1197,8 +1198,6 @@ static int transcode_audio_new( sout_stream_t *p_stream,
fmt_last
=
fmt_out
;
}
/* FIXME: same comment as in "#if 0"ed code */
int
i
;
for
(
i
=
0
;
i
<
4
;
i
++
)
{
if
(
(
fmt_last
.
audio
.
i_channels
!=
...
...
@@ -1211,28 +1210,6 @@ static int transcode_audio_new( sout_stream_t *p_stream,
}
}
#if 0
/* FIXME FIXME FIXME WHAT DOES THIS CODE DO? LOOKS LIKE IT'S RANDOMLY TRYING
TO CHAIN A BUNCH OF AUDIO FILTERS */
for( i = 0; i < TRANSCODE_FILTERS; i++ )
{
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.i_codec != id->p_encoder->fmt_in.i_codec) )
{
id->pp_filter[id->i_filter] =
transcode_audio_filter_new( p_stream, id, &fmt_last,
&id->p_encoder->fmt_in, NULL );
if( id->pp_filter[id->i_filter] )
id->i_filter++;
else
break;
}
}
#endif
/* Final checks to see if conversions were successful */
if
(
fmt_last
.
i_codec
!=
id
->
p_encoder
->
fmt_in
.
i_codec
)
{
...
...
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