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

input: deduplicate input item meta event

input_SendEventMeta() is called after changing the meta of the input
thread's input item. The input item meta event is already sent (with
the correct meta type parameter) by the input item code.
parent 6446fe08
......@@ -195,13 +195,6 @@ void input_SendEventCache( input_thread_t *p_input, double f_level )
void input_SendEventMeta( input_thread_t *p_input )
{
Trigger( p_input, INPUT_EVENT_ITEM_META );
/* FIXME remove this ugliness ? */
vlc_event_t event;
event.type = vlc_InputItemMetaChanged;
event.u.input_item_meta_changed.meta_type = vlc_meta_ArtworkURL;
vlc_event_send( &input_priv(p_input)->p_item->event_manager, &event );
}
void input_SendEventMetaInfo( input_thread_t *p_input )
......
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