summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-03-18 21:12:02 +0000
committersr55 <[email protected]>2020-03-18 21:12:11 +0000
commit9541cabae0954244b3a4dab53a99830604d97719 (patch)
tree940427d3eb54de52a566ba75996096fdd0eb54b8 /win/CS/HandBrake.Interop
parent6b89f8207db86d487203d293cec0442ad02e5b1e (diff)
WinGui: Fix preview images for "None" when using anamorphic content.
Diffstat (limited to 'win/CS/HandBrake.Interop')
-rw-r--r--win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs
index 34997f0ce..3b1295c89 100644
--- a/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs
+++ b/win/CS/HandBrake.Interop/Interop/HandBrakeInstance.cs
@@ -217,9 +217,7 @@ namespace HandBrake.Interop.Interop
{
height = settings.Height,
width = settings.Width,
- 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 }
+ par = new hb_rational_t { den = settings.PixelAspectY, num = settings.PixelAspectX }
}
};