libvlc: add support for media stopped action behaviours in API
The core is able to support different kind of behaviour when reaching the end of a media:
https://code.videolan.org/videolan/vlc/-/blob/master/include/vlc_player.h#L95
enum vlc_player_media_stopped_action {
/** Continue (or stop if there is no next media), default behavior */
VLC_PLAYER_MEDIA_STOPPED_CONTINUE,
/** Pause when reaching the end of file */
VLC_PLAYER_MEDIA_STOPPED_PAUSE,
/** Stop, even if there is a next media to play */
VLC_PLAYER_MEDIA_STOPPED_STOP,
/** Exit VLC */
VLC_PLAYER_MEDIA_STOPPED_EXIT,
};
Expose those behaviour in libvlc_media_player
API.