summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-11 18:38:55 +0000
committersr55 <[email protected]>2015-01-11 18:38:55 +0000
commitfca1620cd234a97a896116b30ff9a3d3d31eb685 (patch)
tree246bac9f65c09594847dbe982e010d9d75be0005 /win/CS/HandBrake.ApplicationServices
parent04392778932f7e6f424039f30d775ac4e1fd7b2b (diff)
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
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs2
1 files changed, 2 insertions, 0 deletions
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)
{