[vlc-devel] commit: playlist: Fix a typo in event detaching. (Pierre d'Herbemont )
git version control
git at videolan.org
Sun Jun 15 15:42:41 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jun 15 15:43:29 2008 +0200| [a1123b0a179ebeba90f29d0456dee475703e2775]
playlist: Fix a typo in event detaching.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1123b0a179ebeba90f29d0456dee475703e2775
---
src/playlist/item.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index 698ede0..9c4d0fe 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -138,16 +138,16 @@ static void install_input_item_observer( playlist_item_t * p_item )
static void uninstall_input_item_observer( playlist_item_t * p_item )
{
vlc_event_manager_t * p_em = &p_item->p_input->event_manager;
+ vlc_event_detach( p_em, vlc_InputItemSubItemAdded,
+ input_item_subitem_added, p_item );
vlc_event_detach( p_em, vlc_InputItemMetaChanged,
input_item_changed, p_item );
vlc_event_detach( p_em, vlc_InputItemDurationChanged,
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 );
+ input_item_changed, p_item );
vlc_event_detach( p_em, vlc_InputItemInfoChanged,
- input_item_subitem_added, p_item );
+ input_item_changed, p_item );
}
/*****************************************************************************
More information about the vlc-devel
mailing list