summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-02-10 20:41:30 +0000
committersr55 <[email protected]>2018-02-10 20:41:30 +0000
commit63f451035ce1a099f4d7d0b8207ea268dcaba483 (patch)
tree3b1c18a20e50353413d3196e0186b6df5d148a83 /win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs
parent35149c862b00ab2c84b5c6b176a77f0b0c3c3b0b (diff)
WinGui: Fixes to Anamorphic handling on the picture tab and in static preview #1169
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs
index 3081faf24..e398edda2 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs
@@ -305,7 +305,7 @@ namespace HandBrake.ApplicationServices.Interop
{
height = settings.Height,
width = settings.Width,
- par = settings.Anamorphic != Anamorphic.Custom
+ par = settings.Anamorphic != Anamorphic.Custom && settings.Anamorphic != Anamorphic.Automatic
? new hb_rational_t { den = title.Geometry.PAR.Den, num = title.Geometry.PAR.Num }
: new hb_rational_t { den = settings.PixelAspectY, num = settings.PixelAspectX }
}