Commit 469c0f3b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: deduplicate input item info event

input_SendEventMetaInfo() is called after changing the "infos" of the
input thread's input item. The input item meta event is already sent
by the input item code.
parent f8d4f62c
...@@ -200,12 +200,6 @@ void input_SendEventMeta( input_thread_t *p_input ) ...@@ -200,12 +200,6 @@ void input_SendEventMeta( input_thread_t *p_input )
void input_SendEventMetaInfo( input_thread_t *p_input ) void input_SendEventMetaInfo( input_thread_t *p_input )
{ {
Trigger( p_input, INPUT_EVENT_ITEM_INFO ); Trigger( p_input, INPUT_EVENT_ITEM_INFO );
/* FIXME remove this ugliness */
vlc_event_t event;
event.type = vlc_InputItemInfoChanged;
vlc_event_send( &input_priv(p_input)->p_item->event_manager, &event );
} }
void input_SendEventMetaName( input_thread_t *p_input, const char *psz_name ) void input_SendEventMetaName( input_thread_t *p_input, const char *psz_name )
......
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