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
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;
+}
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