{\r
height = settings.Height,\r
width = settings.Width,\r
- par = settings.Anamorphic != Anamorphic.Custom\r
+ par = settings.Anamorphic != Anamorphic.Custom && settings.Anamorphic != Anamorphic.Automatic\r
? new hb_rational_t { den = title.Geometry.PAR.Den, num = title.Geometry.PAR.Num }\r
: new hb_rational_t { den = settings.PixelAspectY, num = settings.PixelAspectX }\r
}\r
{\r
// Custom\r
// Set the Width, and Maintain Aspect ratio. That should calc the Height for us.\r
- this.Task.Width = this.GetModulusValue(this.MaxWidth - this.CropLeft - this.CropRight);\r
-\r
+ this.Task.Width = this.GetModulusValue(this.sourceResolution.Width - this.CropLeft - this.CropRight);\r
+ \r
if (this.SelectedAnamorphicMode != Anamorphic.Loose)\r
{\r
- this.Task.Height = this.GetModulusValue(this.MaxHeight - this.CropTop - this.CropBottom);\r
- }\r
- \r
- // If our height is too large, let it downscale the width for us by setting the height to the lower value.\r
- if (!this.MaintainAspectRatio && this.Height > this.MaxHeight)\r
- {\r
- this.Task.Height = this.MaxHeight;\r
+ this.Task.Height = this.GetModulusValue(this.sourceResolution.Height - this.CropTop - this.CropBottom);\r
}\r
}\r
\r
title.ParVal.Width,\r
title.ParVal.Height);\r
\r
+ // Force a re-calc. This will handle MaxWidth / Height corrections.\r
this.RecaulcatePictureSettingsProperties(ChangedPictureField.Width);\r
}\r
\r
ParH = this.ParHeight,\r
MaxWidth = this.MaxWidth,\r
MaxHeight = this.MaxHeight,\r
- KeepDisplayAspect = this.MaintainAspectRatio,\r
+ KeepDisplayAspect = false, //this.MaintainAspectRatio,\r
AnamorphicMode = this.SelectedAnamorphicMode,\r
Crop = new Cropping(this.CropTop, this.CropBottom, this.CropLeft, this.CropRight),\r
};\r