[vlc-devel] commit: libvlc: nsobject is void *. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Jun 9 07:35:50 CEST 2009


vlc | branch: 1.0-bugfix | Pierre d'Herbemont <pdherbemont at free.fr> | Mon May 25 03:04:23 2009 -0700| [a981478b09c39f52e60becc08312253d1c52359f] | committer: Pierre d'Herbemont 

libvlc: nsobject is void *.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a981478b09c39f52e60becc08312253d1c52359f
---

 include/vlc/libvlc_media_player.h |    2 +-
 src/control/media_player.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 3f73ea8..4694698 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -191,7 +191,7 @@ VLC_PUBLIC_API void libvlc_media_player_set_nsobject ( libvlc_media_player_t *p_
  *
  * \return the agl handler or 0 if none where set
  */
-VLC_PUBLIC_API uint32_t libvlc_media_player_get_nsobject ( libvlc_media_player_t *p_mi );
+VLC_PUBLIC_API void * libvlc_media_player_get_nsobject ( libvlc_media_player_t *p_mi );
 	
 /**
  * Set the agl handler where the media player should render its video output.
diff --git a/src/control/media_player.c b/src/control/media_player.c
index 3dd2cdc..820c679 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -756,7 +756,7 @@ void libvlc_media_player_set_nsobject( libvlc_media_player_t *p_mi,
 /**************************************************************************
  * get_nsobject
  **************************************************************************/
-uint32_t libvlc_media_player_get_nsobject( libvlc_media_player_t *p_mi )
+void * libvlc_media_player_get_nsobject( libvlc_media_player_t *p_mi )
 {
     return p_mi->drawable.nsobject;
 }




More information about the vlc-devel mailing list