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
5987f34d
Commit
5987f34d
authored
Feb 19, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: fix signedness of SPU track ID in libvlc_video_set_spu()
Luckily, signed and unsigned int are compatible types.
parent
e712c11f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+2
-2
lib/video.c
lib/video.c
+1
-1
No files found.
include/vlc/libvlc_media_player.h
View file @
5987f34d
...
...
@@ -1037,10 +1037,10 @@ LIBVLC_API libvlc_track_description_t *
* Set new video subtitle.
*
* \param p_mi the media player
* \param i_spu
new video subtitle to select
* \param i_spu
video subtitle track to select (i_id from track description)
* \return 0 on success, -1 if out of range
*/
LIBVLC_API
int
libvlc_video_set_spu
(
libvlc_media_player_t
*
p_mi
,
unsigned
i_spu
);
LIBVLC_API
int
libvlc_video_set_spu
(
libvlc_media_player_t
*
p_mi
,
int
i_spu
);
/**
* Set new video subtitle file.
...
...
lib/video.c
View file @
5987f34d
...
...
@@ -314,7 +314,7 @@ libvlc_track_description_t *
return
libvlc_get_track_description
(
p_mi
,
"spu-es"
);
}
int
libvlc_video_set_spu
(
libvlc_media_player_t
*
p_mi
,
unsigned
i_spu
)
int
libvlc_video_set_spu
(
libvlc_media_player_t
*
p_mi
,
int
i_spu
)
{
input_thread_t
*
p_input_thread
=
libvlc_get_input_thread
(
p_mi
);
vlc_value_t
list
;
...
...
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