]> git.sesse.net Git - vlc/blobdiff - include/vlc/deprecated.h
The last but not least of this serie of memleaks.
[vlc] / include / vlc / deprecated.h
index 599656e5fe6571d3f5ef1ad2461c4bf2fc1429fa..0238e5d95d7d690f94fab84605db8371f70f861a 100644 (file)
 extern "C" {
 # endif
 
+/**
+ * Set the default video output's parent.
+ *
+ * This setting will be used as default for all video outputs.
+ *
+ * \param p_instance libvlc instance
+ * \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32)
+ * \param p_e an initialized exception pointer
+ * @deprecated Use libvlc_media_player_set_drawable
+ */
+VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawable_t, libvlc_exception_t * );
+
+/**
+ * Set the default video output parent.
+ *
+ * This setting will be used as default for all video outputs.
+ *
+ * \param p_instance libvlc instance
+ * \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32)
+ * \param p_e an initialized exception pointer
+ * @deprecated Use libvlc_media_player_get_drawable
+ */
+VLC_PUBLIC_API libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *, libvlc_exception_t * );
+
+/*
+ * This function shall not be used at all. It may lead to crash and race condition.
+ */
+VLC_DEPRECATED_API int libvlc_video_destroy( libvlc_media_player_t *, libvlc_exception_t *);
 
 /*****************************************************************************
  * Playlist (Deprecated)
@@ -99,6 +127,8 @@ VLC_DEPRECATED_API int libvlc_playlist_isplaying( libvlc_instance_t *,
 VLC_DEPRECATED_API int libvlc_playlist_items_count( libvlc_instance_t *,
                                                 libvlc_exception_t * );
 
+VLC_DEPRECATED_API int libvlc_playlist_get_current_index( libvlc_instance_t *,
+                                                 libvlc_exception_t *);
 /**
  * Lock the playlist.
  *