Commit dee7abe3 authored by Rémi Duraffort's avatar Rémi Duraffort

phonon: fix compilation.

parent 88b4c402
...@@ -195,8 +195,7 @@ void VLCMediaObject::connectToAllVLCEvents() ...@@ -195,8 +195,7 @@ void VLCMediaObject::connectToAllVLCEvents()
int i_nbEvents = sizeof(eventsMediaPlayer) / sizeof(*eventsMediaPlayer); int i_nbEvents = sizeof(eventsMediaPlayer) / sizeof(*eventsMediaPlayer);
for (int i = 0; i < i_nbEvents; i++) { for (int i = 0; i < i_nbEvents; i++) {
libvlc_event_attach(p_vlc_media_player_event_manager, eventsMediaPlayer[i], libvlc_event_attach(p_vlc_media_player_event_manager, eventsMediaPlayer[i],
libvlc_callback, this, vlc_exception); libvlc_callback, this);
vlcExceptionRaised();
} }
...@@ -213,8 +212,7 @@ void VLCMediaObject::connectToAllVLCEvents() ...@@ -213,8 +212,7 @@ void VLCMediaObject::connectToAllVLCEvents()
}; };
i_nbEvents = sizeof(eventsMedia) / sizeof(*eventsMedia); i_nbEvents = sizeof(eventsMedia) / sizeof(*eventsMedia);
for (int i = 0; i < i_nbEvents; i++) { for (int i = 0; i < i_nbEvents; i++) {
libvlc_event_attach(p_vlc_media_event_manager, eventsMedia[i], libvlc_callback, this, vlc_exception); libvlc_event_attach(p_vlc_media_event_manager, eventsMedia[i], libvlc_callback, this);
vlcExceptionRaised();
} }
// Get event manager from media service discoverer object // Get event manager from media service discoverer object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment