Commit 9ba6c6d9 authored by Filippo Carone's avatar Filippo Carone

libvlc: on stop, fire a stopped event, not end reached

parent 342bd8af
......@@ -647,7 +647,7 @@ void libvlc_media_player_stop( libvlc_media_player_t *p_mi,
/* Construct and send the event */
libvlc_event_t event;
event.type = libvlc_MediaPlayerEndReached;
event.type = libvlc_MediaPlayerStopped;
libvlc_event_send( p_mi->p_event_manager, &event );
}
......
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