Commit 378b00a0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input: Fix a typo in previous commit.

parent cea7dd86
...@@ -204,7 +204,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args ) ...@@ -204,7 +204,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
NotifyPlaylist( p_input ); NotifyPlaylist( p_input );
vlc_event_t event; vlc_event_t event;
event.type = vlc_InputItemInfoChanged; event.type = vlc_InputItemInfoChanged;
vlc_event_send( p_input->p->input.p_item, &event ); vlc_event_send( &p_input->p->input.p_item->event_manager, &event );
} }
} }
return VLC_SUCCESS; return VLC_SUCCESS;
...@@ -276,7 +276,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args ) ...@@ -276,7 +276,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
NotifyPlaylist( p_input ); NotifyPlaylist( p_input );
vlc_event_t event; vlc_event_t event;
event.type = vlc_InputItemInfoChanged; event.type = vlc_InputItemInfoChanged;
vlc_event_send( p_input->p->input.p_item, &event ); vlc_event_send( &p_input->p->input.p_item->event_manager, &event );
} }
return VLC_SUCCESS; return VLC_SUCCESS;
} }
...@@ -313,7 +313,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args ) ...@@ -313,7 +313,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
vlc_event_t event; vlc_event_t event;
event.type = vlc_InputItemNameChanged; event.type = vlc_InputItemNameChanged;
event.u.input_item_name_changed.new_name = psz_name; event.u.input_item_name_changed.new_name = psz_name;
vlc_event_send( p_input->p->input.p_item, &event ); vlc_event_send( &p_input->p->input.p_item->event_manager, &event );
} }
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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