control/media_list_player.c: Remove a double event registration. (Patch by Enrique...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 2 Oct 2007 11:30:12 +0000 (11:30 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 2 Oct 2007 11:30:12 +0000 (11:30 +0000)
src/control/media_list_player.c

index 0bca13f..094b97e 100644 (file)
@@ -243,8 +243,6 @@ libvlc_media_list_player_new( libvlc_instance_t * p_instance,
                                                        p_e );
     libvlc_event_manager_register_event_type( p_mlp->p_event_manager,
             libvlc_MediaListPlayerNextItemSet, p_e );
-    libvlc_event_manager_register_event_type( p_mlp->p_event_manager,
-            libvlc_MediaListPlayerNextItemSet, p_e );
 
     return p_mlp;
 }