Commit 65ebc4b5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc: go to libvlc_Ended rather than libvlc_Stopped at EOS

This is what the tests expect, and was the final status before the
merge of ABORT and DEAD input events.

In fact, libvlc_Stopped does not really correspond to anything: it has
no STOPPED_S equivalent in the input thread state. The only way to
reach it is to call libvlc_media_player_stop() explicitly.
Regardless, lets keep it for backward compatibility.
parent 58930e48
......@@ -304,7 +304,7 @@ input_event_changed( vlc_object_t * p_this, char const * psz_cmd,
else if( newval.i_int == INPUT_EVENT_DEAD )
libvlc_state_t libvlc_state = libvlc_Stopped;
libvlc_state_t libvlc_state = libvlc_Ended;
event.type = libvlc_MediaPlayerStopped;
set_state( p_mi, libvlc_state, false );
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