コード例 #1
0
        public OneClickConfigPanel(MainForm mainForm, MeGUI.core.details.video.Empty dummy)
        {
            this.mainForm = mainForm;
            InitializeComponent();

            // We do this because the designer will attempt to put such a long string in the resources otherwise
            containerFormatLabel.Text = "Since the possible output filetypes are not known until the input is configured, the output type cannot be configured in a profile. Instead, here is a list of known file-types. You choose which you are happy with, and MeGUI will attempt to encode to one of those on the list.";

            foreach (ContainerType t in mainForm.MuxProvider.GetSupportedContainers())
            {
                containerTypeList.Items.Add(t.ToString());
            }
            initAudioHandler();
            initAvsHandler();
            initVideoHandler();
        }
コード例 #2
0
ファイル: OneClickConfigPanel.cs プロジェクト: paulyc/megui
 public OneClickConfigPanel(MainForm mainForm, MeGUI.core.details.video.Empty dummy)
 {
     this.mainForm = mainForm;
     InitializeComponent();
     foreach (ContainerType t in mainForm.MuxProvider.GetSupportedContainers())
     {
         containerTypeList.Items.Add(t.ToString());
     }
     this.filesizeComboBox.Items.AddRange(calc.getPredefinedOutputSizes());
     this.filesizeComboBox.Items.Add("Custom");
     this.filesizeComboBox.Items.Add("Don't care");
     this.filesizeComboBox.SelectedIndex = 2;
     initAudioHandler();
     initAvsHandler();
     initVideoHandler();
 }