TsRemux.TsRemux.RemoveSup C# (CSharp) Method

RemoveSup() private method

private RemoveSup ( ) : void
return void
        private void RemoveSup()
        {
            if (supPresent)
            {
                pidList.RemoveAt(pidList.Count - 1);
                ElementaryStreamsListBox.Items.RemoveAt(ElementaryStreamsListBox.Items.Count - 1);
                pidsToKeep.Remove(supFile.StreamInfos[0].ElementaryPID);
                supPresent = false;
                supFile.CloseFile();
                supFile = null;
            }
            SupStart = TimeSpan.Zero;
            DisableSup();
        }
TsRemux