]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc_vlm.h
libvlc_vlm_release added
[vlc] / include / vlc / libvlc_vlm.h
index 5158281aa69d5597ed81df0d2c8e9ed35638cb7c..a999ff85407fba0da836c5f3a07c61e7f7cdeffb 100644 (file)
@@ -38,6 +38,15 @@ extern "C" {
  * @{
  */
 
+    
+/**
+ * Release the vlm instance related to the given libvlc_instance_t
+ *
+ * \param p_instance the instance
+ * \param p_e an initialized exception pointer
+ */
+VLC_PUBLIC_API void libvlc_vlm_release( libvlc_instance_t *, libvlc_exception_t * );
+    
 /**
  * Add a broadcast, with one input.
  *
@@ -183,7 +192,7 @@ VLC_PUBLIC_API void libvlc_vlm_seek_media( libvlc_instance_t *, char *,
 VLC_PUBLIC_API char* libvlc_vlm_show_media( libvlc_instance_t *, char *, libvlc_exception_t * );
 
 #define LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( attr, returnType, getType, default)\
-returnType libvlc_vlm_get_media_## attr( libvlc_instance_t *, \
+returnType libvlc_vlm_get_media_instance_## attr( libvlc_instance_t *, \
                         char *, int , libvlc_exception_t * );
 
 VLC_PUBLIC_API LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( position, float, Float, -1);