Commit 18acd8a0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input: Add input_get_event_manager().

parent 5573aa7b
...@@ -665,4 +665,6 @@ VLC_EXPORT( void, input_DecoderDecode,( decoder_t *, block_t * ) ); ...@@ -665,4 +665,6 @@ VLC_EXPORT( void, input_DecoderDecode,( decoder_t *, block_t * ) );
VLC_EXPORT( bool, input_AddSubtitles, ( input_thread_t *, char *, bool ) ); VLC_EXPORT( bool, input_AddSubtitles, ( input_thread_t *, char *, bool ) );
VLC_EXPORT( vlc_event_manager_t *, input_get_event_manager, ( input_thread_t * ) );
#endif #endif
...@@ -2864,3 +2864,12 @@ bool input_AddSubtitles( input_thread_t *p_input, char *psz_subtitle, ...@@ -2864,3 +2864,12 @@ bool input_AddSubtitles( input_thread_t *p_input, char *psz_subtitle,
return true; return true;
} }
/*****************************************************************************
* input_get_event_manager
*****************************************************************************/
vlc_event_manager_t *
input_get_event_manager( input_thread_t *p_input )
{
return &p_input->p->event_manager;
}
...@@ -146,6 +146,7 @@ input_DecoderDecode ...@@ -146,6 +146,7 @@ input_DecoderDecode
input_DecoderDelete input_DecoderDelete
input_DecoderNew input_DecoderNew
input_GetItem input_GetItem
input_get_event_manager
input_ItemAddInfo input_ItemAddInfo
input_ItemAddOpt input_ItemAddOpt
__input_ItemGetById __input_ItemGetById
......
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