From 20f490e516f71ec88fd29dd6a7cb5404d52e8ab9 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 6 Jun 2012 00:28:09 +0000 Subject: WinGui: Allow Modulus with Anamorphic Mode None. Tweaks to Destination filename property. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4712 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 6 +++--- win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'win/CS/HandBrakeWPF/ViewModels') diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 5bc79dec7..061a1e148 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -895,7 +895,7 @@ namespace HandBrakeWPF.ViewModels QueueTask task = new QueueTask { Task = new EncodeTask(this.CurrentTask), - Query = QueryGeneratorUtility.GenerateQuery(this.CurrentTask) + Query = QueryGeneratorUtility.GenerateQuery(new EncodeTask(this.CurrentTask)) }; this.queueProcessor.QueueManager.Add(task); @@ -1044,8 +1044,8 @@ namespace HandBrakeWPF.ViewModels // Create the Queue Task and Start Processing QueueTask task = new QueueTask(null) { - Task = this.CurrentTask, - Query = QueryGeneratorUtility.GenerateQuery(this.CurrentTask), + Task = new EncodeTask(this.CurrentTask), + Query = QueryGeneratorUtility.GenerateQuery(new EncodeTask(this.CurrentTask)), CustomQuery = false }; this.queueProcessor.QueueManager.Add(task); diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index f5612df2e..eff48d0e5 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -633,7 +633,7 @@ namespace HandBrakeWPF.ViewModels this.WidthControlEnabled = true; this.HeightControlEnabled = true; this.ShowCustomAnamorphicControls = false; - this.ShowModulus = false; + this.ShowModulus = true; this.ShowDisplaySize = false; this.SelectedModulus = 16; // Reset this.Width = this.sourceResolution.Width; -- cgit v1.2.3