From: RĂ©mi Duraffort Date: Thu, 28 Jan 2010 09:06:33 +0000 (+0100) Subject: phonon: fix compilation. X-Git-Tag: 1.1.0-ff~788 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dee7abe325ec273d02468c0d084ca2b5ba336cc5;p=vlc phonon: fix compilation. --- diff --git a/bindings/phonon/vlc/vlcmediaobject.cpp b/bindings/phonon/vlc/vlcmediaobject.cpp index 31a3965385..e5271679fe 100644 --- a/bindings/phonon/vlc/vlcmediaobject.cpp +++ b/bindings/phonon/vlc/vlcmediaobject.cpp @@ -195,8 +195,7 @@ void VLCMediaObject::connectToAllVLCEvents() int i_nbEvents = sizeof(eventsMediaPlayer) / sizeof(*eventsMediaPlayer); for (int i = 0; i < i_nbEvents; i++) { libvlc_event_attach(p_vlc_media_player_event_manager, eventsMediaPlayer[i], - libvlc_callback, this, vlc_exception); - vlcExceptionRaised(); + libvlc_callback, this); } @@ -213,8 +212,7 @@ void VLCMediaObject::connectToAllVLCEvents() }; i_nbEvents = sizeof(eventsMedia) / sizeof(*eventsMedia); for (int i = 0; i < i_nbEvents; i++) { - libvlc_event_attach(p_vlc_media_event_manager, eventsMedia[i], libvlc_callback, this, vlc_exception); - vlcExceptionRaised(); + libvlc_event_attach(p_vlc_media_event_manager, eventsMedia[i], libvlc_callback, this); } // Get event manager from media service discoverer object