Commit fdb91a06 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Handle vlc_InputItemErrorWhenReadingChanged events.

parent 8a5d95d0
......@@ -134,6 +134,8 @@ static void install_input_item_observer( playlist_item_t * p_item )
input_item_changed, p_item );
vlc_event_attach( p_em, vlc_InputItemInfoChanged,
input_item_changed, p_item );
vlc_event_attach( p_em, vlc_InputItemErrorWhenReadingChanged,
input_item_changed, p_item );
}
static void uninstall_input_item_observer( playlist_item_t * p_item )
......@@ -149,6 +151,8 @@ static void uninstall_input_item_observer( playlist_item_t * p_item )
input_item_changed, p_item );
vlc_event_detach( p_em, vlc_InputItemInfoChanged,
input_item_changed, p_item );
vlc_event_detach( p_em, vlc_InputItemErrorWhenReadingChanged,
input_item_changed, 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