Commit 91a270c2 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix input_state_changed()

Patch by Jakob Fries
(cherry picked from commit daeac03e)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent fbd8c12f
......@@ -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;
break;
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