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

git version control git at videolan.org
Mon May 25 12:04:37 CEST 2009


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

libvlc: nsobject is void *.

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

 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 da585f3..512ed37 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -686,7 +686,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