Commit ace6fa76 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

events: vlc_input_state_changed->input_state_changed

parent 788413cf
......@@ -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
......
......@@ -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 )
{
......
......@@ -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 );
}
}
......
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