summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/HbLib
diff options
context:
space:
mode:
authorRandomEngy <[email protected]>2016-07-30 11:14:23 -0700
committerRandomEngy <[email protected]>2016-07-30 11:14:23 -0700
commit66c8424fa167c32453dd8bca3ba142bd6301613f (patch)
tree1fdaa4adf31fe56e29cefc5f07f2c031547c224f /win/CS/HandBrake.ApplicationServices/Interop/HbLib
parent52d1b2fd6e3a927793e354c07a7396040ec5c59e (diff)
Fixed double-spaced lines when logging multi-line messages from the core.
Added some keep_aspect constants and updated the audio codec mask.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/HbLib')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs
index 0bcbc18cf..787bb7c72 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/NativeConstants.cs
@@ -13,7 +13,7 @@ namespace HandBrake.ApplicationServices.Interop.HbLib
public class NativeConstants
{
// Audio encoders
- public const uint HB_ACODEC_MASK = 0x00FFFF00;
+ public const uint HB_ACODEC_MASK = 0x03FFFF00;
public const uint HB_ACODEC_LAME = 0x00000200;
public const uint HB_ACODEC_VORBIS = 0x00000400;
public const uint HB_ACODEC_AC3 = 0x00000800;
@@ -58,5 +58,10 @@ namespace HandBrake.ApplicationServices.Interop.HbLib
public const int HB_STATE_PAUSED = 16;
public const int HB_STATE_WORKDONE = 32;
public const int HB_STATE_MUXING = 64;
- }
+
+ // Keep aspect ratio values
+ public const int HB_KEEP_WIDTH = 0x01;
+ public const int HB_KEEP_HEIGHT = 0x02;
+ public const int HB_KEEP_DISPLAY_ASPECT = 0x04;
+ }
}