From a78bada1696e6b8bc976d3599085ad9bd7d0812a Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 22 Feb 2010 17:03:31 +0100 Subject: [PATCH] libvlc: Put a ref to libvlc_media_release in libvlc_media_new. --- include/vlc/libvlc_media.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h index 075a1c670f..ffe98ec152 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 -- 2.39.2