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
d792d684
Commit
d792d684
authored
Aug 02, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct variable name in libvlc_audio_output_device_set()
parent
ebb0ff10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/control/audio.c
src/control/audio.c
+2
-2
No files found.
src/control/audio.c
View file @
d792d684
...
@@ -272,9 +272,9 @@ void libvlc_audio_output_device_set( libvlc_media_player_t *mp,
...
@@ -272,9 +272,9 @@ void libvlc_audio_output_device_set( libvlc_media_player_t *mp,
return
;
return
;
if
(
asprintf
(
&
psz_config_name
,
"%s-audio-device"
,
psz_audio_output
)
==
-
1
)
if
(
asprintf
(
&
psz_config_name
,
"%s-audio-device"
,
psz_audio_output
)
==
-
1
)
return
;
return
;
if
(
!
var_Type
(
mp
,
psz_
audio_output
)
)
if
(
!
var_Type
(
mp
,
psz_
config_name
)
)
/* Don't recreate the same variable over and over and over... */
/* Don't recreate the same variable over and over and over... */
var_Create
(
mp
,
psz_
audio_output
,
VLC_VAR_STRING
);
var_Create
(
mp
,
psz_
config_name
,
VLC_VAR_STRING
);
var_SetString
(
mp
,
psz_config_name
,
psz_device_id
);
var_SetString
(
mp
,
psz_config_name
,
psz_device_id
);
free
(
psz_config_name
);
free
(
psz_config_name
);
}
}
...
...
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