public MpcStreamInfoHandler()
        {
            var subtitleCount = MpcSubtitles.GetCount();

            for (int i = 0; i < subtitleCount; ++i)
            {
                string     subtitleTrackName = MpcSubtitles.GetTrackName(i);
                int        lcid      = BaseDXPlayer.LookupLcidFromName(subtitleTrackName);
                StreamInfo subStream = new StreamInfo(null, i, subtitleTrackName, lcid);
                AddUnique(subStream);
            }
            AddUnique(new StreamInfo(null, subtitleCount + 1, VideoPlayer.NO_SUBTITLES, 0));
        }
 public string GetSubtitleName(int i)
 {
     return(MpcSubtitles.GetTrackName(i));
 }