1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00

libvlc: Put a ref to libvlc_media_release in libvlc_media_new.

This commit is contained in:
Pierre d'Herbemont 2010-02-22 17:03:31 +01:00
parent 3b474bb0b6
commit a78bada169

View 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