[vlc-devel] commit: events: vlc_input_state_changed->input_state_changed (Pierre d' Herbemont )
git version control
git at videolan.org
Sat Jun 14 15:47:50 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 15:47:26 2008 +0200| [ace6fa7617eae3294d0d59d282d2975e0c6a4d47]
events: vlc_input_state_changed->input_state_changed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ace6fa7617eae3294d0d59d282d2975e0c6a4d47
---
include/vlc_events.h | 2 +-
src/control/media_player.c | 2 +-
src/input/input_internal.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/vlc_events.h b/include/vlc_events.h
index 2bef3ef..c26cdb5 100644
--- a/include/vlc_events.h
+++ b/include/vlc_events.h
@@ -141,7 +141,7 @@ typedef struct vlc_event_t
struct vlc_input_state_changed
{
int new_state;
- } vlc_input_state_changed;
+ } input_state_changed;
/* Input item events */
struct vlc_input_item_meta_changed
diff --git a/src/control/media_player.c b/src/control/media_player.c
index a96715e..dd56f31 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -140,7 +140,7 @@ input_state_changed( const vlc_event_t * event, void * p_userdata )
{
libvlc_media_player_t * p_mi = p_userdata;
libvlc_event_t forwarded_event;
- libvlc_event_type_t type = event->u.vlc_input_state_changed.new_state;
+ libvlc_event_type_t type = event->u.input_state_changed.new_state;
switch ( type )
{
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 226c178..c1b25fe 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -392,7 +392,7 @@ static inline void input_ChangeState( input_thread_t *p_input, int state )
{
vlc_event_t event;
event.type = vlc_InputStateChanged;
- event.u.vlc_input_state_changed.new_state = state;
+ event.u.input_state_changed.new_state = state;
vlc_event_send( &p_input->p->event_manager, &event );
}
}
More information about the vlc-devel
mailing list