Commit daeac03e authored by Christophe Mutricy's avatar Christophe Mutricy

Fix input_state_changed()

Patch by Jakob Fries
parent 674c2927
......@@ -183,6 +183,7 @@ input_state_changed( const vlc_event_t * event, void * p_userdata )
case END_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Ended, NULL);
forwarded_event.type = libvlc_MediaPlayerEndReached;
case ERROR_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Error, NULL);
forwarded_event.type = libvlc_MediaPlayerEncounteredError;
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