TsRemux.TsRemux.EnableCbxMlp C# (CSharp) Method

EnableCbxMlp() private method

private EnableCbxMlp ( ) : void
return void
        private void EnableCbxMlp()
        {
            cbxMlpToAc3.Enabled = false;
            if(inFile.FileType == TsFileType.M2TS || inFile.FileType == TsFileType.TS)
            {
                foreach (StreamInfo si in inFile.StreamInfos)
                    if ((pidsToKeep.Contains(si.ElementaryPID) && si.StreamType == ElementaryStreamTypes.AUDIO_STREAM_AC3_TRUE_HD)
                        || (pidsToKeep.Contains(si.ElementaryPID) && si.StreamType == ElementaryStreamTypes.AUDIO_STREAM_DTS_HD)
                        ||(pidsToKeep.Contains(si.ElementaryPID) && si.StreamType == ElementaryStreamTypes.AUDIO_STREAM_DTS_HD_MASTER_AUDIO))
                        cbxMlpToAc3.Enabled = true;
            }
        }
TsRemux