From fca1620cd234a97a896116b30ff9a3d3d31eb685 Mon Sep 17 00:00:00 2001 From: sr55 <sr55.hb@outlook.com> Date: Sun, 11 Jan 2015 18:38:55 +0000 Subject: [PATCH] WinGui: Another fix to 2Pass encoding on the new JSON api. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6733 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Utilities/InteropModelCreator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs index 91eaa28f3..15114000c 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs @@ -183,6 +183,8 @@ namespace HandBrake.ApplicationServices.Utilities profile.VideoBitrate = work.VideoBitrate.HasValue ? work.VideoBitrate.Value : 0; profile.VideoEncodeRateType = work.VideoEncodeRateType; profile.VideoEncoder = Converters.GetVideoEncoder(work.VideoEncoder); + profile.TwoPass = work.TwoPass; + profile.TurboFirstPass = work.TurboFirstPass; if (work.VideoEncoder == VideoEncoder.X264) { -- 2.40.0