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
014a02b7
Commit
014a02b7
authored
Aug 08, 2008
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc.h: document the fact that libvlc_media_player_get_length/get_time/set_time use milliseconds.
parent
a3452c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+21
-0
No files found.
include/vlc/libvlc.h
View file @
014a02b7
...
...
@@ -527,8 +527,29 @@ VLC_PUBLIC_API libvlc_drawable_t
libvlc_media_player_get_drawable
(
libvlc_media_player_t
*
,
libvlc_exception_t
*
);
/** \bug This might go away ... to be replaced by a broader system */
/**
* Get the current movie length (in ms).
*
* \param p_mi the Media Player
* \param p_e an initialized exception pointer
* \return the movie length (in ms).
*/
VLC_PUBLIC_API
libvlc_time_t
libvlc_media_player_get_length
(
libvlc_media_player_t
*
,
libvlc_exception_t
*
);
/**
* Get the current movie time (in ms).
*
* \param p_mi the Media Player
* \param p_e an initialized exception pointer
* \return the movie time (in ms).
*/
VLC_PUBLIC_API
libvlc_time_t
libvlc_media_player_get_time
(
libvlc_media_player_t
*
,
libvlc_exception_t
*
);
/**
* Set the movie time (in ms).
*
* \param p_mi the Media Player
* \param the movie time (in ms).
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_media_player_set_time
(
libvlc_media_player_t
*
,
libvlc_time_t
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
float
libvlc_media_player_get_position
(
libvlc_media_player_t
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
void
libvlc_media_player_set_position
(
libvlc_media_player_t
*
,
float
,
libvlc_exception_t
*
);
...
...
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