Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
hacker1024
libvlcpp
Commits
a756e5ac
Commit
a756e5ac
authored
Sep 15, 2020
by
Hugo Beauzée-Luyssen
Browse files
MediaPlayer: Expose single track selection/unselection
parent
14b14cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlcpp/MediaPlayer.hpp
View file @
a756e5ac
...
...
@@ -1876,6 +1876,18 @@ public:
ctracks
.
data
(),
ctracks
.
size
()
);
}
void
selectTrack
(
const
MediaTrack
&
track
)
{
libvlc_media_player_select_track
(
*
this
,
track
);
}
void
unselectTrackType
(
MediaTrack
::
Type
type
)
{
libvlc_media_player_unselect_track_type
(
*
this
,
static_cast
<
libvlc_track_type_t
>
(
type
)
);
}
#endif
#if LIBVLC_VERSION_INT < LIBVLC_VERSION(4, 0, 0, 0)
...
...
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