예제 #1
0
        private void HandleEncodeType(string value)
        {
            switch (value)
            {
            case "CRF":
                this.EncodeType = EnumEncodeType.CRF;
                break;

            case "2Pass":
                this.EncodeType = EnumEncodeType.TwoPass;
                break;

            default:
                throw new Exception("Invalid Encode Type");
            }

            this.SetX264TemplateTextBox();
        }
예제 #2
0
        private void HandleEncodeType(string value)
        {
            switch (value)
            {
                case "CRF":
                    this.EncodeType = EnumEncodeType.CRF;
                    break;
                case "2Pass":
                    this.EncodeType = EnumEncodeType.TwoPass;
                    break;
                default:
                    throw new Exception("Invalid Encode Type");
            }

            this.SetX264TemplateTextBox();
        }