Commit 667db96e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_list.c: Don't forget to register_event_type for WillAdd/WillDelete.

parent 7a8034b0
......@@ -127,8 +127,12 @@ libvlc_media_list_new( libvlc_instance_t * p_inst,
libvlc_event_manager_register_event_type( p_mlist->p_event_manager,
libvlc_MediaListItemAdded, p_e );
libvlc_event_manager_register_event_type( p_mlist->p_event_manager,
libvlc_MediaListWillAddItem, p_e );
libvlc_event_manager_register_event_type( p_mlist->p_event_manager,
libvlc_MediaListItemDeleted, p_e );
libvlc_event_manager_register_event_type( p_mlist->p_event_manager,
libvlc_MediaListWillDeleteItem, p_e );
if( libvlc_exception_raised( p_e ) )
{
......
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