diff options
author | sr55 <[email protected]> | 2012-03-17 23:33:54 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-17 23:33:54 +0000 |
commit | 49020e219f4c3db356b599750f053520b5f089b6 (patch) | |
tree | 65ea075b87420521642868aab7d4a1e942466484 /win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | |
parent | 65ef5bf0ec869d50feadff71739c7d472c4be953 (diff) |
WinGui: (WPF) Added Debug menu (1. Show CLI Query to allow for easier debugging). Wired up most tabs into the EncodeTask object so the parameters are sent to the encode engine. General code tidy-up and fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4510 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index 81b1ec6eb..8fa221b21 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -396,8 +396,12 @@ namespace HandBrakeWPF.ViewModels /// <param name="preset">
/// The preset.
/// </param>
- public void SetPreset(Preset preset)
+ /// <param name="task">
+ /// The task.
+ /// </param>
+ public void SetPreset(Preset preset, EncodeTask task)
{
+ this.Task = task;
if (preset == null || preset.Task == null)
{
return;
|