Commit 89237ca2 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Respond to Name and Info changed events.

parent ed1e1f8f
......@@ -129,6 +129,10 @@ static void install_input_item_observer( playlist_item_t * p_item )
input_item_changed, p_item );
vlc_event_attach( p_em, vlc_InputItemMetaChanged,
input_item_changed, p_item );
vlc_event_attach( p_em, vlc_InputItemNameChanged,
input_item_changed, p_item );
vlc_event_attach( p_em, vlc_InputItemInfoChanged,
input_item_changed, p_item );
}
static void uninstall_input_item_observer( playlist_item_t * p_item )
......@@ -140,6 +144,10 @@ static void uninstall_input_item_observer( playlist_item_t * p_item )
input_item_changed, p_item );
vlc_event_detach( p_em, vlc_InputItemSubItemAdded,
input_item_subitem_added, p_item );
vlc_event_detach( p_em, vlc_InputItemNameChanged,
input_item_subitem_added, p_item );
vlc_event_detach( p_em, vlc_InputItemInfoChanged,
input_item_subitem_added, p_item );
}
/*****************************************************************************
......
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