[vlc-devel] commit: phonon: fix compilation. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Jan 28 10:07:12 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jan 28 10:06:33 2010 +0100| [dee7abe325ec273d02468c0d084ca2b5ba336cc5] | committer: Rémi Duraffort
phonon: fix compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dee7abe325ec273d02468c0d084ca2b5ba336cc5
---
bindings/phonon/vlc/vlcmediaobject.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/bindings/phonon/vlc/vlcmediaobject.cpp b/bindings/phonon/vlc/vlcmediaobject.cpp
index 31a3965..e527167 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
More information about the vlc-devel
mailing list