[vlc-devel] commit: libvlc: Put a ref to libvlc_media_release in libvlc_media_new. ( Pierre d'Herbemont )

git version control git at videolan.org
Mon Feb 22 18:36:14 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Feb 22 17:03:31 2010 +0100| [a78bada1696e6b8bc976d3599085ad9bd7d0812a] | committer: Pierre d'Herbemont 

libvlc: Put a ref to libvlc_media_release in libvlc_media_new.

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

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

diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 075a1c6..ffe98ec 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -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




More information about the vlc-devel mailing list