]> git.sesse.net Git - vlc/commitdiff
Deprecate libvlc_video_reparent
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 7 Feb 2009 17:30:58 +0000 (19:30 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 7 Feb 2009 17:32:11 +0000 (19:32 +0200)
This is consistent with libvlc_video_set_parent being deprecated.

include/vlc/deprecated.h
include/vlc/libvlc.h

index bb966d0f5e1b087010ece7837ea1c5b5e8d84f18..df0ba040c6481670fb407a0169555dd2f1b1b05f 100644 (file)
@@ -96,6 +96,16 @@ VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawabl
  */
 VLC_PUBLIC_API libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *, libvlc_exception_t * );
 
+/**
+ * Change the parent for the current the video output.
+ *
+ * \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
+ * \return the success status (boolean)
+ */
+VLC_PUBLIC_API int libvlc_video_reparent( libvlc_media_player_t *, libvlc_drawable_t, libvlc_exception_t * );
+
 /*
  * This function shall not be used at all. It may lead to crash and race condition.
  */
index 290da216c0b89e8a9b3c0924800a3a68cb54296f..f6fc51942a9ab7fab4280aa608df61ce6cd73f45 100644 (file)
@@ -1020,16 +1020,6 @@ VLC_PUBLIC_API void libvlc_video_take_snapshot( libvlc_media_player_t *, char *,
  */
 VLC_PUBLIC_API void libvlc_video_resize( libvlc_media_player_t *, int, int, libvlc_exception_t *);
 
-/**
- * Change the parent for the current the video output.
- *
- * \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
- * \return the success status (boolean)
- */
-VLC_PUBLIC_API int libvlc_video_reparent( libvlc_media_player_t *, libvlc_drawable_t, libvlc_exception_t * );
-
 /**
  * Tell windowless video output to redraw rectangular area (MacOS X only).
  *