C# Class Handbrake.Functions.PresetLoader

Load a preset into the main Window
Show file Open project: golgol7777/HandBrakeWinSource

Public Methods

Method Description
LoadPreset ( frmMain mainWindow, EncodeTask presetQuery, string name ) : void

This function takes in a Query which has been parsed by QueryParser and set's all the GUI widgets correctly.

Private Methods

Method Description
QualityToSliderValue ( VideoEncoder videoEncoder, double value ) : int

Convert a Quality Value to a position value for the Video Quality slider

Method Details

LoadPreset() public static method

This function takes in a Query which has been parsed by QueryParser and set's all the GUI widgets correctly.
public static LoadPreset ( frmMain mainWindow, EncodeTask presetQuery, string name ) : void
mainWindow frmMain /// FrmMain window ///
presetQuery HandBrake.ApplicationServices.Model.EncodeTask /// The Parsed CLI Query ///
name string /// Name of the preset ///
return void