libvlc: Advertise libvlc_media_instance_destroy_and_detach (soon media_instance_relea...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 19 Jun 2007 18:03:03 +0000 (18:03 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 19 Jun 2007 18:03:03 +0000 (18:03 +0000)
include/vlc/libvlc.h
src/control/libvlc_internal.h

index 518f39c..3b77c98 100644 (file)
@@ -316,6 +316,9 @@ VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new( libvlc_media
  */
 VLC_PUBLIC_API void libvlc_media_instance_destroy( libvlc_media_instance_t * );
 
+/* Will be renamed to libvlc_media_instance_release */
+VLC_PUBLIC_API void libvlc_media_instance_destroy_and_detach( libvlc_media_instance_t * );
+
 VLC_PUBLIC_API void libvlc_media_instance_play ( libvlc_media_instance_t *, libvlc_exception_t * );
 VLC_PUBLIC_API void libvlc_media_instance_pause ( libvlc_media_instance_t *, libvlc_exception_t * );
 
index cf16b60..6f2e5f3 100644 (file)
@@ -101,9 +101,6 @@ 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 * ) );
 
-VLC_EXPORT (void, libvlc_media_instance_destroy_and_detach,
-                        ( libvlc_media_instance_t * ) );
-
 VLC_EXPORT (libvlc_media_descriptor_t *, libvlc_media_descriptor_new_from_input_item,
                         ( struct libvlc_instance_t *, input_item_t * ) );