summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
index de6ad54eb..16b26bb83 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
@@ -151,6 +151,11 @@ namespace HandBrakeWPF.ViewModels
{
default:
this.SelectedPictureSettingMode = PresetPictureSettingsMode.Custom;
+ if (title != null && title.Resolution != null)
+ {
+ this.CustomWidth = title.Resolution.Width;
+ this.CustomHeight = title.Resolution.Height;
+ }
break;
case Anamorphic.Strict:
this.SelectedPictureSettingMode = PresetPictureSettingsMode.SourceMaximum;