public static FillEncodingFormat ( Gtk.ComboBox encodingBox, EncodingProfile def ) : |
||
encodingBox | Gtk.ComboBox | |
def | EncodingProfile | |
Résultat |
void FillFormats() { videoStandardList = Misc.FillImageFormat(imagecombobox, VideoStandards.Capture, Config.CaptureVideoStandard); encProfileList = Misc.FillEncodingFormat(encodingcombobox, Config.CaptureEncodingProfile); qualList = Misc.FillQuality(qualitycombobox, Config.CaptureEncodingQuality); }
public VideoEditionProperties() { this.Build(); encSettings = new EncodingSettings(); stdStore = Misc.FillImageFormat(sizecombobox, Config.RenderVideoStandard); encStore = Misc.FillEncodingFormat(formatcombobox, Config.RenderEncodingProfile); qualStore = Misc.FillQuality(qualitycombobox, Config.RenderEncodingQuality); }
public VideoEditionProperties(Window parent) { TransientFor = parent; this.Build(); encSettings = new EncodingSettings(); stdStore = Misc.FillImageFormat(sizecombobox, VideoStandards.Rendering, Config.RenderVideoStandard); encStore = Misc.FillEncodingFormat(formatcombobox, Config.RenderEncodingProfile); qualStore = Misc.FillQuality(qualitycombobox, Config.RenderEncodingQuality); descriptioncheckbutton.Active = Config.OverlayTitle; audiocheckbutton.Active = Config.EnableAudio; mediafilechooser1.FileChooserMode = FileChooserMode.File; mediafilechooser1.FilterName = "Multimedia Files"; mediafilechooser1.FilterExtensions = new string[] { "*.mkv", "*.mp4", "*.ogg", "*.avi", "*.mpg", "*.vob" }; mediafilechooser2.FileChooserMode = FileChooserMode.Directory; mediafilechooser2.ChangedEvent += (sender, e) => { OutputDir = mediafilechooser2.CurrentPath; }; }