Commit 714ef56a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Export libvlc_media_player_get_input_thread().

parent 2114b4ec
......@@ -502,6 +502,15 @@ 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
......
......@@ -1223,3 +1223,15 @@ 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;
}
......@@ -133,6 +133,7 @@ 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment