[vlc-devel] commit: libvlc.h: document the fact that libvlc_media_player_get_length/ get_time/set_time use milliseconds. (Olivier Aubert )

git version control git at videolan.org
Fri Aug 8 18:06:15 CEST 2008


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Aug  8 18:07:39 2008 +0200| [014a02b7e4744955070e3984700282d3dec68e73] | committer: Olivier Aubert 

libvlc.h: document the fact that libvlc_media_player_get_length/get_time/set_time use milliseconds.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=014a02b7e4744955070e3984700282d3dec68e73
---

 include/vlc/libvlc.h |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index 9ccfb5a..da8a66e 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -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 *);




More information about the vlc-devel mailing list