summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-03-17 18:36:35 +0000
committersr55 <[email protected]>2012-03-17 18:36:35 +0000
commit7686ecbf127a41291a7fe76852f93fe7a6f60fb4 (patch)
treeb77205d3464bc0ae3fb374acbe0acedf72916834 /win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
parentf87e4ae9727bbb10040e5dd5cd99a6a7f1f4dd1d (diff)
WinGui: (WPF) Wired up the Add Preset window and setup the build scripts to create Alpha Builds for this project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4508 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index 444208076..309bc6df3 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -476,7 +476,7 @@ namespace HandBrakeWPF.ViewModels
{
// TODO: These all need to be handled correctly.
- if (Task.UsesMaxPictureSettings)
+ if (preset.PictureSettingsMode == PresetPictureSettingsMode.SourceMaximum)
{
this.Task.MaxWidth = preset.Task.MaxWidth;
this.Task.MaxHeight = preset.Task.MaxHeight;