From 24f58b0b387f4f39c8218d24019016a9fa15e6ab Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 1 Nov 2016 21:37:31 +0000 Subject: [PATCH] WinGui: Fix Anamorphic Mode Auto --- .../Interop/HbLib/hb_anamorphic_mode_t.cs | 3 ++- .../Interop/Model/Encoding/Anamorphic.cs | 2 +- win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_anamorphic_mode_t.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_anamorphic_mode_t.cs index ef0bf03f4..ba379c3ad 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_anamorphic_mode_t.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/hb_anamorphic_mode_t.cs @@ -15,6 +15,7 @@ namespace HandBrake.ApplicationServices.Interop.HbLib HB_ANAMORPHIC_NONE, HB_ANAMORPHIC_STRICT, HB_ANAMORPHIC_LOOSE, - HB_ANAMORPHIC_CUSTOM + HB_ANAMORPHIC_CUSTOM, + HB_ANAMORPHIC_AUTO } ; } diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Anamorphic.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Anamorphic.cs index ebe81a1cb..b73829fc8 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Anamorphic.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/Anamorphic.cs @@ -23,7 +23,7 @@ namespace HandBrake.ApplicationServices.Interop.Model.Encoding None = 0, [Display(Name = "Automatic")] [ShortName("auto")] - Automatic = 1, + Automatic = 4, [Display(Name = "Loose")] [ShortName("loose")] Loose = 2, diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index 0cd963d36..a6f8586cb 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -977,7 +977,7 @@ namespace HandBrakeWPF.ViewModels this.HeightControlEnabled = true; this.ShowCustomAnamorphicControls = false; this.ShowModulus = false; - this.ShowKeepAR = true; + this.ShowKeepAR = false; break; case Anamorphic.Loose: -- 2.40.0