]> git.sesse.net Git - vlc/commitdiff
libvlc: Put a ref to libvlc_media_release in libvlc_media_new.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 22 Feb 2010 16:03:31 +0000 (17:03 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 22 Feb 2010 17:19:29 +0000 (18:19 +0100)
include/vlc/libvlc_media.h

index 075a1c670f32db3c7bcd16080a1f0b7a37eb1cb5..ffe98ec1523c7f4524e51e17a4288d724aacf333 100644 (file)
@@ -168,6 +168,8 @@ typedef struct libvlc_media_es_t
 /**
  * Create a media with a certain given media resource location.
  *
+ * \see libvlc_media_release
+ *
  * \param p_instance the instance
  * \param psz_mrl the MRL to read
  * \return the newly created media or NULL on error
@@ -179,6 +181,8 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_location(
 /**
  * Create a media with a certain file path.
  *
+ * \see libvlc_media_release
+ *
  * \param p_instance the instance
  * \param path local filesystem path
  * \return the newly created media or NULL on error
@@ -190,6 +194,8 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_path(
 /**
  * Create a media as an empty node with a given name.
  *
+ * \see libvlc_media_release
+ *
  * \param p_instance the instance
  * \param psz_name the name of the node
  * \return the new empty media or NULL on error