vlc开发视频控件,如何设置循环播放

用C#对Vlc开发,如何使视频重复循环播放?需要如何设置?
string[] arguments = { "-I", "dummy", "--repeat", "--ignore-config", "--no-video-title", plugin_arg };
libvlc_instance_ = LibVlcAPI.libvlc_new(arguments);
这样设置后貌似还是不能循环播放

    private void Vlc_VideoOutChanged(object sender, Vlc.DotNet.Core.VlcMediaPlayerVideoOutChangedEventArgs e)
    {
        if (Vlc.State == MediaStates.Ended)
        {
            ThreadStart PlayFunc = new ThreadStart(() => Vlc.Play(CurrentStream));
            new Thread(PlayFunc).Start();
        }
    }

LibVLC _libVLC = new LibVLC();
MediaPlayer _mp = new MediaPlayer(_libVLC);
Media media = new Media(_libVLC, new Uri(Environment.CurrentDirectory +"//"+ FileName), new string[] { "input-repeat=-1" });
_mp.Play(media);

http://bbs.csdn.net/topics/390734657