/// <summary>
 ///
 /// </summary>
 /// <param name="List"></param>
 public void Load(VlcMediaList List)
 {
     SyncEvents();
     InteropMethods.libvlc_media_list_player_set_media_list(p_ml_player, List.p_mlist, ref p_ex);
     p_ex.CheckException();
     _PlayList = List;
 }
        /// <summary>
        ///
        /// </summary>
        /// <param name="Media"></param>
        public override void Load(VlcMedia Media)
        {
            VlcMediaList lst = _Vlc.CreateMediaList();

            lst.Add(Media);
            Load(lst);
        }
        /// <summary>
        /// Initializes a new instance of the <b>VlcMediaListPlayer</b> class.
        /// </summary>
        /// <param name="Vlc"></param>
        /// <param name="p_ml_player"></param>
        /// <param name="p_media_player"></param>
        internal VlcMediaListPlayer(VideoLanClient Vlc, VlcMediaList List, IntPtr p_ml_player, IntPtr p_media_player)
            : base(Vlc, p_media_player)
        {
            //set our Media instance pointer
            this.p_ml_player = p_ml_player;

            InteropMethods.libvlc_media_list_player_set_media_player(p_ml_player, p_media_player, ref p_ex);
            p_ex.CheckException();

            Load(List);
        }
Beispiel #4
0
 public VlcMediaEnumerator(VlcMediaList mlist)
 {
     _mlist = mlist;
     _index = -1;
 }