[vlc-devel] commit: add libvlc_media_player_(get|set) _agl to the hearder and symbole list. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Apr 1 22:33:05 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Apr 1 22:31:59 2009 +0200| [a6e200e96571bf226ebe01f26ef9cc5d893a8bce] | committer: Rémi Duraffort
add libvlc_media_player_(get|set)_agl to the hearder and symbole list.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6e200e96571bf226ebe01f26ef9cc5d893a8bce
---
include/vlc/libvlc.h | 16 ++++++++++++++++
src/libvlc.sym | 2 ++
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/include/vlc/libvlc.h b/include/vlc/libvlc.h
index 1374061..a3a40e7 100644
--- a/include/vlc/libvlc.h
+++ b/include/vlc/libvlc.h
@@ -556,6 +556,22 @@ VLC_PUBLIC_API void libvlc_media_player_pause ( libvlc_media_player_t *, libvlc_
VLC_PUBLIC_API void libvlc_media_player_stop ( libvlc_media_player_t *, libvlc_exception_t * );
/**
+ * Set the agl handler where the media player should render its video output.
+ *
+ * \param p_mi the Media Player
+ * \param drawable the agl handler
+ * \param p_e an initialized exception pointer
+ */
+VLC_PUBLIC_API void libvlc_media_player_set_agl ( libvlc_media_player_t *p_mi, uint32_t drawable, libvlc_exception_t *p_e );
+
+/**
+ * Get the agl handler previously set with libvlc_media_player_set_agl().
+ *
+ * \return the agl handler or 0 if none where set
+ */
+VLC_PUBLIC_API uint32_t libvlc_media_player_get_agl ( libvlc_media_player_t *p_mi );
+
+/**
* Set an X Window System drawable where the media player should render its
* video output. If LibVLC was built without X11 output support, then this has
* no effects.
diff --git a/src/libvlc.sym b/src/libvlc.sym
index 759744d..2f26333 100644
--- a/src/libvlc.sym
+++ b/src/libvlc.sym
@@ -121,6 +121,7 @@ libvlc_media_new_from_input_item
libvlc_media_player_can_pause
libvlc_media_player_destroy
libvlc_media_player_event_manager
+libvlc_media_player_get_agl
libvlc_media_player_get_chapter
libvlc_media_player_get_chapter_count
libvlc_media_player_get_chapter_count_for_title
@@ -148,6 +149,7 @@ libvlc_media_player_play
libvlc_media_player_previous_chapter
libvlc_media_player_release
libvlc_media_player_retain
+libvlc_media_player_set_agl
libvlc_media_player_set_chapter
libvlc_media_player_set_drawable
libvlc_media_player_set_hwnd
More information about the vlc-devel
mailing list