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
3a97968e
Commit
3a97968e
authored
Jul 04, 2008
by
Lukas Durfina
Committed by
Rémi Denis-Courmont
Jul 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libvlc set audio track, subtitle
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
d0dd8179
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/control/audio.c
src/control/audio.c
+1
-1
src/control/video.c
src/control/video.c
+1
-1
No files found.
src/control/audio.c
View file @
3a97968e
...
...
@@ -191,7 +191,7 @@ void libvlc_audio_set_track( libvlc_media_player_t *p_mi, int i_track,
for
(
i
=
0
;
i
<
val_list
.
p_list
->
i_count
;
i
++
)
{
vlc_value_t
val
=
val_list
.
p_list
->
p_values
[
i
];
if
(
i_track
==
i
)
if
(
i_track
==
val
.
i_int
)
{
i_ret
=
var_Set
(
p_input_thread
,
"audio-es"
,
val
);
if
(
i_ret
<
0
)
...
...
src/control/video.c
View file @
3a97968e
...
...
@@ -397,7 +397,7 @@ void libvlc_video_set_spu( libvlc_media_player_t *p_mi, int i_spu,
for
(
i
=
0
;
i
<
val_list
.
p_list
->
i_count
;
i
++
)
{
vlc_value_t
val
=
val_list
.
p_list
->
p_values
[
i
];
if
(
i_spu
==
i
)
if
(
i_spu
==
val
.
i_int
)
{
vlc_value_t
new_val
;
...
...
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