[vlc-devel] commit: input: Add input_get_event_manager(). (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jun 14 15:17:00 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 14:16:24 2008 +0200| [18acd8a0fa3fc8239ba6d637f128d223e76a659c]

input: Add input_get_event_manager().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18acd8a0fa3fc8239ba6d637f128d223e76a659c
---

 include/vlc_input.h |    2 ++
 src/input/input.c   |    9 +++++++++
 src/libvlccore.sym  |    1 +
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 7e77f0b..737d51e 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -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( vlc_event_manager_t *, input_get_event_manager, ( input_thread_t * ) );
+
 #endif
diff --git a/src/input/input.c b/src/input/input.c
index 2786b14..35832c4 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2864,3 +2864,12 @@ bool input_AddSubtitles( input_thread_t *p_input, char *psz_subtitle,
 
     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;
+}
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index f5cfcd5..ccc6c59 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -146,6 +146,7 @@ input_DecoderDecode
 input_DecoderDelete
 input_DecoderNew
 input_GetItem
+input_get_event_manager
 input_ItemAddInfo
 input_ItemAddOpt
 __input_ItemGetById




More information about the vlc-devel mailing list