From 815ec591b064926461942b24fce3c6bb5abca123 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 25 May 2009 03:04:23 -0700 Subject: [PATCH] libvlc: nsobject is void *. --- 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 3f73ea8547..4694698088 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 da585f3180..512ed373d7 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; } -- 2.39.2