Libvlc: Make media_instance_destroy private.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 24 Jun 2007 13:26:17 +0000 (13:26 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 24 Jun 2007 13:26:17 +0000 (13:26 +0000)
include/vlc/libvlc.h
src/control/libvlc_internal.h
src/control/media_instance.c

index 62cb2b1..f428f09 100644 (file)
@@ -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 * );
 
-/** 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
  * \param p_mi the Media Instance to free
  */
index 079c827..496beaa 100644 (file)
@@ -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,
                         ( 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,
                         ( struct libvlc_instance_t *, input_item_t *, libvlc_exception_t * ) );
 
index b6ad386..d8c9b74 100644 (file)
@@ -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 )
 {