Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f027c44d
Commit
f027c44d
authored
Aug 09, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: remove redumdant variable creation for replay gain
Those variables are inherited and they have no callbacks.
parent
270e903b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
src/audio_output/input.c
src/audio_output/input.c
+0
-19
No files found.
src/audio_output/input.c
View file @
f027c44d
...
@@ -214,22 +214,6 @@ int aout_InputNew( audio_output_t * p_aout,
...
@@ -214,22 +214,6 @@ int aout_InputNew( audio_output_t * p_aout,
&
p_input
->
replay_gain
));
&
p_input
->
replay_gain
));
free
(
gain
);
free
(
gain
);
if
(
var_Type
(
p_aout
,
"audio-replay-gain-preamp"
)
==
0
)
{
var_Create
(
p_aout
,
"audio-replay-gain-preamp"
,
VLC_VAR_FLOAT
|
VLC_VAR_DOINHERIT
);
}
if
(
var_Type
(
p_aout
,
"audio-replay-gain-default"
)
==
0
)
{
var_Create
(
p_aout
,
"audio-replay-gain-default"
,
VLC_VAR_FLOAT
|
VLC_VAR_DOINHERIT
);
}
if
(
var_Type
(
p_aout
,
"audio-replay-gain-peak-protection"
)
==
0
)
{
var_Create
(
p_aout
,
"audio-replay-gain-peak-protection"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
}
psz_filters
=
var_GetString
(
p_aout
,
"audio-filter"
);
psz_filters
=
var_GetString
(
p_aout
,
"audio-filter"
);
psz_visual
=
var_GetString
(
p_aout
,
"audio-visual"
);
psz_visual
=
var_GetString
(
p_aout
,
"audio-visual"
);
psz_scaletempo
=
var_InheritBool
(
p_aout
,
"audio-time-stretch"
)
?
strdup
(
"scaletempo"
)
:
NULL
;
psz_scaletempo
=
var_InheritBool
(
p_aout
,
"audio-time-stretch"
)
?
strdup
(
"scaletempo"
)
:
NULL
;
...
@@ -698,9 +682,6 @@ static void inputFailure( audio_output_t * p_aout, aout_input_t * p_input,
...
@@ -698,9 +682,6 @@ static void inputFailure( audio_output_t * p_aout, aout_input_t * p_input,
var_Destroy
(
p_aout
,
"audio-visual"
);
var_Destroy
(
p_aout
,
"audio-visual"
);
var_Destroy
(
p_aout
,
"audio-replay-gain-mode"
);
var_Destroy
(
p_aout
,
"audio-replay-gain-mode"
);
var_Destroy
(
p_aout
,
"audio-replay-gain-default"
);
var_Destroy
(
p_aout
,
"audio-replay-gain-preamp"
);
var_Destroy
(
p_aout
,
"audio-replay-gain-peak-protection"
);
/* error flag */
/* error flag */
p_input
->
b_error
=
1
;
p_input
->
b_error
=
1
;
...
...
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