[vlc-devel] commit: playlist: Compile fix for previous commit, plus warning removal. ( Pierre d'Herbemont )
git version control
git at videolan.org
Sun Jun 1 21:49:49 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jun 1 21:50:18 2008 +0200| [0e7a548e6e2d4e6adbdcb5f963cca635ac2a96f8]
playlist: Compile fix for previous commit, plus warning removal.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e7a548e6e2d4e6adbdcb5f963cca635ac2a96f8
---
src/playlist/item.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index 1dee00b..fa14675 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -112,6 +112,7 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
static void input_item_changed( const vlc_event_t * p_event,
void * user_data )
{
+ (void)p_event;
playlist_item_t * p_item = user_data;
var_SetInteger( p_item->p_playlist,
"item-change", p_item->i_id );
@@ -128,11 +129,11 @@ static void install_input_item_observer( playlist_item_t * p_item )
p_item );
vlc_event_attach( &p_item->p_input->event_manager,
vlc_InputItemDurationChanged,
- input_item_meta_changed,
+ input_item_changed,
p_item );
vlc_event_attach( &p_item->p_input->event_manager,
vlc_InputItemMetaChanged,
- input_item_meta_changed,
+ input_item_changed,
p_item );
}
@@ -140,11 +141,11 @@ static void uninstall_input_item_observer( playlist_item_t * p_item )
{
vlc_event_detach( &p_item->p_input->event_manager,
vlc_InputItemMetaChanged,
- input_item_meta_changed,
+ input_item_changed,
p_item );
vlc_event_detach( &p_item->p_input->event_manager,
vlc_InputItemDurationChanged,
- input_item_meta_changed,
+ input_item_changed,
p_item );
vlc_event_detach( &p_item->p_input->event_manager,
vlc_InputItemSubItemAdded,
More information about the vlc-devel
mailing list