summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-01-02 13:59:32 +0000
committersr55 <[email protected]>2017-01-02 13:59:48 +0000
commit31553653e0c1f8349419014f60fd97978a4169d7 (patch)
tree5bdf25dd1766fa8b202c6f44606c2293b2474608 /win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
parentd6d633ac7b386b9c0ca70efa0ba93fcd45221d08 (diff)
WinGui: Improve the SourceMax / Custom Picture Settings modes. Fixes a numer of edge causes and problems with this code #455
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
index 2facf2c66..52877f61f 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
@@ -238,8 +238,8 @@ namespace HandBrakeWPF.ViewModels
if (this.SelectedPictureSettingMode == PresetPictureSettingsMode.SourceMaximum)
{
- this.Preset.Task.MaxWidth = selectedTitle.Resolution.Width;
- this.Preset.Task.MaxHeight = selectedTitle.Resolution.Height;
+ this.Preset.Task.MaxHeight = null;
+ this.Preset.Task.MaxWidth = null;
}
// Add the Preset