Commit bddca171 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Document media descriptor, media library, media service discover, vlm and message log functions.

parent b7309d0b
This diff is collapsed.
...@@ -214,9 +214,18 @@ VLC_PUBLIC_API void libvlc_vlm_seek_media( libvlc_instance_t *, char *, ...@@ -214,9 +214,18 @@ VLC_PUBLIC_API void libvlc_vlm_seek_media( libvlc_instance_t *, char *,
* \param p_instance the instance * \param p_instance the instance
* \param psz_name the name of the broadcast * \param psz_name the name of the broadcast
* \param p_e an initialized exception pointer * \param p_e an initialized exception pointer
* \return string with information about named media
*/ */
VLC_PUBLIC_API char* libvlc_vlm_show_media( libvlc_instance_t *, char *, libvlc_exception_t * ); VLC_PUBLIC_API char* libvlc_vlm_show_media( libvlc_instance_t *, char *, libvlc_exception_t * );
/**
* Get information about media attribute from vlm.
*
* \param libvlc instance
* \param type of information
* \param default value
* \return value of media attribute
*/
#define LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( attr, returnType, getType, default)\ #define LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( attr, returnType, getType, default)\
returnType libvlc_vlm_get_media_instance_## attr( libvlc_instance_t *, \ returnType libvlc_vlm_get_media_instance_## attr( libvlc_instance_t *, \
char *, int , libvlc_exception_t * ); char *, int , libvlc_exception_t * );
...@@ -237,4 +246,4 @@ VLC_PUBLIC_API LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( seekable, int, Bool, 0); ...@@ -237,4 +246,4 @@ VLC_PUBLIC_API LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( seekable, int, Bool, 0);
} }
# endif # endif
#endif /* <vlc/libvlc.h> */ #endif /* <vlc/libvlc_vlm.h> */
...@@ -404,7 +404,7 @@ libvlc_media_duplicate( libvlc_media_t *p_md_orig ) ...@@ -404,7 +404,7 @@ libvlc_media_duplicate( libvlc_media_t *p_md_orig )
} }
/************************************************************************** /**************************************************************************
* Retain a media descriptor object * Get mrl from a media descriptor object
**************************************************************************/ **************************************************************************/
char * char *
libvlc_media_get_mrl( libvlc_media_t * p_md, libvlc_media_get_mrl( libvlc_media_t * p_md,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment