Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a8dcf91d
Commit
a8dcf91d
authored
May 16, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix text for stereo-mode variable
The text needs to be always set, as its used by the GUI.
parent
58774c32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/audio_output/output.c
src/audio_output/output.c
+6
-2
No files found.
src/audio_output/output.c
View file @
a8dcf91d
...
...
@@ -369,9 +369,15 @@ int aout_OutputNew (audio_output_t *aout, audio_sample_format_t *restrict fmt)
}
if
(
!
var_Type
(
aout
,
"stereo-mode"
))
{
var_Create
(
aout
,
"stereo-mode"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
|
VLC_VAR_DOINHERIT
);
vlc_value_t
txt
;
txt
.
psz_string
=
_
(
"Audio Channels"
);
var_Change
(
aout
,
"stereo-mode"
,
VLC_VAR_SETTEXT
,
&
txt
,
NULL
);
}
/* The user may have selected a different channels configuration. */
var_AddCallback
(
aout
,
"stereo-mode"
,
aout_ChannelsRestart
,
NULL
);
switch
(
var_GetInteger
(
aout
,
"stereo-mode"
))
...
...
@@ -400,8 +406,6 @@ int aout_OutputNew (audio_output_t *aout, audio_sample_format_t *restrict fmt)
vlc_value_t
val
,
txt
;
val
.
i_int
=
0
;
var_Change
(
aout
,
"stereo-mode"
,
VLC_VAR_DELCHOICE
,
&
val
,
NULL
);
txt
.
psz_string
=
_
(
"Stereo audio mode"
);
var_Change
(
aout
,
"stereo-mode"
,
VLC_VAR_SETTEXT
,
&
txt
,
NULL
);
if
(
fmt
->
i_original_channels
&
AOUT_CHAN_DOLBYSTEREO
)
{
val
.
i_int
=
AOUT_VAR_CHAN_DOLBYS
;
...
...
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