diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/MarshalingConstants.cs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs index d51bcfc70..54a2135ee 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs @@ -531,7 +531,7 @@ namespace HandBrake.Interop nativeJob.indepth_scan = 0;
- if (job.EncodingProfile.TwoPass)
+ if (job.EncodingProfile.VideoEncodeRateType != VideoEncodeRateType.ConstantQuality && job.EncodingProfile.TwoPass)
{
// First pass. Apply turbo options if needed.
nativeJob.pass = 1;
@@ -873,7 +873,7 @@ namespace HandBrake.Interop int pass = 1;
int rawJobNumber = state.param.working.job_cur;
- if (this.currentJob.EncodingProfile.TwoPass)
+ if (this.currentJob.EncodingProfile.VideoEncodeRateType != VideoEncodeRateType.ConstantQuality && this.currentJob.EncodingProfile.TwoPass)
{
if (this.subtitleScan)
{
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/MarshalingConstants.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/MarshalingConstants.cs index 98ed5048f..8f56e9380 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/MarshalingConstants.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Helpers/MarshalingConstants.cs @@ -15,13 +15,13 @@ namespace HandBrake.Interop.Helpers public static class MarshalingConstants
{
#if X64
- public const int JobPaddingBytes = 49264;
+ public const int JobPaddingBytes = 49272;
public const int AudioPaddingBytes = 49208;
#else
- /// <summary>
+ /// <summary>
/// Job Padding Bytes
/// </summary>
- public const int JobPaddingBytes = 49216;
+ public const int JobPaddingBytes = 49220;
/// <summary>
/// Audio Padding Bytes
|