]> git.sesse.net Git - vlc/commitdiff
MacOSX/Framework/VLCMediaPlayer.m: Forgotten detach().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jan 2008 16:58:39 +0000 (16:58 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jan 2008 16:58:39 +0000 (16:58 +0000)
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m

index 96e0c6e349b635be43cf466b7cdcb6d58d96a193..e29a0059312135319803d1934672b0d134b8da68 100644 (file)
@@ -592,7 +592,7 @@ static const VLCMediaPlayerState libvlc_to_local_state[] =
     libvlc_event_detach( p_em, libvlc_MediaInstancePlayed,          HandleMediaInstanceStateChanged, self, NULL );
     libvlc_event_detach( p_em, libvlc_MediaInstancePaused,          HandleMediaInstanceStateChanged, self, NULL );
     libvlc_event_detach( p_em, libvlc_MediaInstanceReachedEnd,      HandleMediaInstanceStateChanged, self, NULL );
-    //libvlc_event_detach( p_em, libvlc_MediaInstancePositionChanged, HandleMediaTimeChanged,            self, NULL );
+    libvlc_event_detach( p_em, libvlc_MediaInstancePositionChanged, HandleMediaTimeChanged,            self, NULL );
     libvlc_event_detach( p_em, libvlc_MediaInstanceTimeChanged,     HandleMediaTimeChanged,            self, NULL );
 }