public MediaListPlayer(IntPtr hMediaLib, IMediaList mediaList)
        {
            m_mediaList        = mediaList;
            m_hMediaListPlayer = LibVlcMethods.libvlc_media_list_player_new(hMediaLib);
            LibVlcMethods.libvlc_media_list_player_set_media_list(m_hMediaListPlayer, ((INativePointer)m_mediaList).Pointer);
            m_mediaList.Dispose();

            m_videoPlayer = new VideoPlayer(hMediaLib);
            LibVlcMethods.libvlc_media_list_player_set_media_player(m_hMediaListPlayer, ((INativePointer)m_videoPlayer).Pointer);
            m_videoPlayer.Dispose();
        }
      public MediaListPlayer(IntPtr hMediaLib, IMediaList mediaList)
      {
         m_mediaList = mediaList;
         m_hMediaListPlayer = LibVlcMethods.libvlc_media_list_player_new(hMediaLib);
         LibVlcMethods.libvlc_media_list_player_set_media_list(m_hMediaListPlayer, ((INativePointer)m_mediaList).Pointer);
         m_mediaList.Dispose();

         m_videoPlayer = new VideoPlayer(hMediaLib);
         LibVlcMethods.libvlc_media_list_player_set_media_player(m_hMediaListPlayer, ((INativePointer)m_videoPlayer).Pointer);
         m_videoPlayer.Dispose();
      }
 protected override void Dispose(bool disposing)
 {
     m_videoPlayer.Dispose();
     LibVlcMethods.libvlc_media_list_player_release(m_hMediaListPlayer);
 }