[vlc-devel] commit: Revert "libvlc: Export libvlc_media_player_get_input_thread()." ( Pierre d'Herbemont )
git version control
git at videolan.org
Fri Jan 29 14:41:16 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Jan 29 14:40:39 2010 +0100| [87ffb90bc35977f6c79be6482158682f371734de] | committer: Pierre d'Herbemont
Revert "libvlc: Export libvlc_media_player_get_input_thread()."
This reverts commit 714ef56a1682be404888668bd3c1c688cd0d2aeb.
By popular demand.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87ffb90bc35977f6c79be6482158682f371734de
---
include/vlc/libvlc_media_player.h | 9 ---------
src/control/media_player.c | 12 ------------
src/libvlc.sym | 1 -
3 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 452b2ad..2897f07 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 971474b..1be7112 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 305ed5a..b4d2555 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
More information about the vlc-devel
mailing list