From 63f451035ce1a099f4d7d0b8207ea268dcaba483 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 10 Feb 2018 20:41:30 +0000 Subject: WinGui: Fixes to Anamorphic handling on the picture tab and in static preview #1169 --- win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Interop/HandBrakeInstance.cs') 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 } } -- cgit v1.2.3