VLC_PUBLIC_API void libvlc_media_descriptor_release(
libvlc_media_descriptor_t *p_meta_desc );
+VLC_PUBLIC_API char * libvlc_media_descriptor_get_mrl( libvlc_media_descriptor_t * p_md,
+ libvlc_exception_t * p_e );
+
/**
* Read the meta of the media descriptor.
* \param p_meta_desc the media descriptor to read
return p_md;
}
+/**************************************************************************
+ * Retain a media descriptor object
+ **************************************************************************/
+char *
+libvlc_media_descriptor_get_mrl( libvlc_media_descriptor_t * p_md,
+ libvlc_exception_t * p_e )
+{
+ (void)p_e;
+ return strdup( p_md->p_input_item->psz_uri );
+}
+
/**************************************************************************
* Getter for meta information
**************************************************************************/