Commit 9bd2469e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: Print the event string description on error, instead of its numerical type.

parent c1d8551f
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
* Private functions * Private functions
*/ */
/* /*
* Internal libvlc functions * Internal libvlc functions
*/ */
...@@ -344,6 +343,6 @@ void libvlc_event_detach_lock_state( libvlc_event_manager_t *p_event_manager, ...@@ -344,6 +343,6 @@ void libvlc_event_detach_lock_state( libvlc_event_manager_t *p_event_manager,
vlc_mutex_unlock( &p_event_manager->event_sending_lock ); vlc_mutex_unlock( &p_event_manager->event_sending_lock );
libvlc_exception_raise( p_e, libvlc_exception_raise( p_e,
"This object event manager doesn't know about '%i,%p,%p' event observer", "This object event manager doesn't know about '%s,%p,%p' event observer",
event_type, pf_callback, p_user_data ); libvlc_event_type_name(event_type), pf_callback, p_user_data );
} }
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