From: Pierre d'Herbemont Date: Fri, 29 Jan 2010 13:40:39 +0000 (+0100) Subject: Revert "libvlc: Export libvlc_media_player_get_input_thread()." X-Git-Tag: 1.1.0-ff~705 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=87ffb90bc35977f6c79be6482158682f371734de;p=vlc Revert "libvlc: Export libvlc_media_player_get_input_thread()." This reverts commit 714ef56a1682be404888668bd3c1c688cd0d2aeb. By popular demand. --- diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h index 452b2adcaf..2897f07cc9 100644 --- a/include/vlc/libvlc_media_player.h +++ b/include/vlc/libvlc_media_player.h @@ -502,15 +502,6 @@ VLC_PUBLIC_API void libvlc_media_player_next_frame( libvlc_media_player_t *p_ libvlc_exception_t *p_e ); -/** - * Access to libvlc core internal structure. - * - * This enables nasty hack. Use of this method is discouraged. - * - * \param player the libvlc_media_player_t instance - * \return a libvlccore input_thread_t or NULL. The actual behaviour is not specified. - */ -VLC_PUBLIC_API struct input_thread_t *libvlc_media_player_get_input_thread( libvlc_media_player_t *player ); /** * Release (free) libvlc_track_description_t diff --git a/src/control/media_player.c b/src/control/media_player.c index 971474bc92..1be7112f04 100644 --- a/src/control/media_player.c +++ b/src/control/media_player.c @@ -1223,15 +1223,3 @@ void libvlc_media_player_next_frame( libvlc_media_player_t *p_mi, libvlc_excepti libvlc_printerr( "No active input" ); } } - -/************************************************************************** - * get_input_thread (Public API version) - **************************************************************************/ -struct input_thread_t *libvlc_media_player_get_input_thread( libvlc_media_player_t *player ) -{ - libvlc_exception_t e; - libvlc_exception_init(&e); - input_thread_t *input = libvlc_get_input_thread(player, &e); - clear_if_needed(&e); - return input; -} diff --git a/src/libvlc.sym b/src/libvlc.sym index 305ed5a526..b4d2555740 100644 --- a/src/libvlc.sym +++ b/src/libvlc.sym @@ -133,7 +133,6 @@ libvlc_media_player_get_chapter_count libvlc_media_player_get_chapter_count_for_title libvlc_media_player_get_fps libvlc_media_player_get_hwnd -libvlc_media_player_get_input_thread libvlc_media_player_get_length libvlc_media_player_get_media libvlc_media_player_get_nsobject