diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs | 5 |
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;
|