]> granicus.if.org Git - handbrake/commitdiff
WinGui: Another fix to 2Pass encoding on the new JSON api.
authorsr55 <sr55.hb@outlook.com>
Sun, 11 Jan 2015 18:38:55 +0000 (18:38 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 11 Jan 2015 18:38:55 +0000 (18:38 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6733 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs

index 91eaa28f32c35135738ecfaf820bc03121427c30..15114000cd31eca4f4e11c4a2f7080f23d480edd 100644 (file)
@@ -183,6 +183,8 @@ namespace HandBrake.ApplicationServices.Utilities
             profile.VideoBitrate = work.VideoBitrate.HasValue ? work.VideoBitrate.Value : 0;\r
             profile.VideoEncodeRateType = work.VideoEncodeRateType;\r
             profile.VideoEncoder = Converters.GetVideoEncoder(work.VideoEncoder);\r
+            profile.TwoPass = work.TwoPass;\r
+            profile.TurboFirstPass = work.TurboFirstPass;\r
 \r
             if (work.VideoEncoder == VideoEncoder.X264)\r
             {\r