]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc.h
libvlc: Export _get/set_nsobject.
[vlc] / include / vlc / libvlc.h
index a3a40e7980e66855908906c2d6b30d80041f290f..67acf9994fa5fa80f4ec5032db7e17aa6cc11102 100644 (file)
@@ -555,6 +555,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_nsobject ( libvlc_media_player_t *p_mi, void * 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_nsobject ( libvlc_media_player_t *p_mi );
+       
 /**
  * Set the agl handler where the media player should render its video output.
  *