Commit 40fbcb70 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Libvlc: Make media_instance_destroy private.

parent e054ef8b
...@@ -317,11 +317,6 @@ VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new( libvlc_insta ...@@ -317,11 +317,6 @@ VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new( libvlc_insta
*/ */
VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new_from_media_descriptor( libvlc_media_descriptor_t *, libvlc_exception_t * ); VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new_from_media_descriptor( libvlc_media_descriptor_t *, libvlc_exception_t * );
/** Destroy a Media Instance object (going private)
* \param p_mi the Media Instance to free
*/
VLC_PUBLIC_API void libvlc_media_instance_destroy( libvlc_media_instance_t * );
/** Release a media_instance after use /** Release a media_instance after use
* \param p_mi the Media Instance to free * \param p_mi the Media Instance to free
*/ */
......
...@@ -101,6 +101,9 @@ VLC_EXPORT (input_thread_t *, libvlc_get_input_thread, ...@@ -101,6 +101,9 @@ VLC_EXPORT (input_thread_t *, libvlc_get_input_thread,
VLC_EXPORT (libvlc_media_instance_t *, libvlc_media_instance_new_from_input_thread, VLC_EXPORT (libvlc_media_instance_t *, libvlc_media_instance_new_from_input_thread,
( struct libvlc_instance_t *, input_thread_t *, libvlc_exception_t * ) ); ( struct libvlc_instance_t *, input_thread_t *, libvlc_exception_t * ) );
VLC_EXPORT (void, libvlc_media_instance_destroy,
( libvlc_media_instance_t * ) );
VLC_EXPORT (libvlc_media_descriptor_t *, libvlc_media_descriptor_new_from_input_item, VLC_EXPORT (libvlc_media_descriptor_t *, libvlc_media_descriptor_new_from_input_item,
( struct libvlc_instance_t *, input_item_t *, libvlc_exception_t * ) ); ( struct libvlc_instance_t *, input_item_t *, libvlc_exception_t * ) );
......
...@@ -159,7 +159,7 @@ libvlc_media_instance_t * libvlc_media_instance_new_from_input_thread( ...@@ -159,7 +159,7 @@ libvlc_media_instance_t * libvlc_media_instance_new_from_input_thread(
} }
/************************************************************************** /**************************************************************************
* Destroy a Media Instance object * Destroy a Media Instance object (libvlc internal)
**************************************************************************/ **************************************************************************/
void libvlc_media_instance_destroy( libvlc_media_instance_t *p_mi ) void libvlc_media_instance_destroy( libvlc_media_instance_t *p_mi )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment