[vlc-devel] commit: Deprecate libvlc_video_reparent ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Feb 7 18:32:21 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Feb 7 19:30:58 2009 +0200| [52833ec70d8d2a6c268dbe4671c61fd20846d319] | committer: Rémi Denis-Courmont
Deprecate libvlc_video_reparent
This is consistent with libvlc_video_set_parent being deprecated.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52833ec70d8d2a6c268dbe4671c61fd20846d319
---
include/vlc/deprecated.h | 10 ++++++++++
include/vlc/libvlc.h | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index bb966d0..df0ba04 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -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.
*/
diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index 290da21..f6fc519 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -1021,16 +1021,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).
*
* \param p_instance libvlc instance
More information about the vlc-devel
mailing list