summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
diff options
context:
space:
mode:
authorrandomengy <[email protected]>2011-10-08 02:12:46 +0000
committerrandomengy <[email protected]>2011-10-08 02:12:46 +0000
commit54e0ebd757caf1fb4912a866b5bf61a6a86767e6 (patch)
tree686b93fa82ef4d320df2b735f541327712657ecc /win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
parent8aefcb07be2554610fd196f8190b5c44245be428 (diff)
Interop: Updating structs to keep up with libhb. Adding support for x264 profile/preset/tune and updating to use built in auto-passthrough.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4270 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
index b90387703..4c358da69 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
@@ -17,10 +17,10 @@ namespace HandBrake.Interop
using HandBrake.Interop.Model.Encoding;
using HandBrake.Interop.SourceData;
- /// <summary>
- /// HandBrake Interop Utilities
- /// </summary>
- public static class HandBrakeUtils
+ /// <summary>
+ /// HandBrake Interop Utilities
+ /// </summary>
+ public static class HandBrakeUtils
{
/// <summary>
/// Estimated overhead in bytes for each frame in output container.
@@ -47,10 +47,10 @@ namespace HandBrake.Interop
/// </summary>
public static event EventHandler<MessageLoggedEventArgs> ErrorLogged;
- /// <summary>
- /// Register the logger.
- /// </summary>
- public static void RegisterLogger()
+ /// <summary>
+ /// Register the logger.
+ /// </summary>
+ public static void RegisterLogger()
{
// Register the logger if we have not already
if (loggingCallback == null)
@@ -211,18 +211,18 @@ namespace HandBrake.Interop
switch (encoder)
{
case AudioEncoder.Faac:
- case AudioEncoder.ffaac:
- case AudioEncoder.AacPassthru:
+ case AudioEncoder.ffaac:
+ case AudioEncoder.AacPassthru:
case AudioEncoder.Vorbis:
return 1024;
case AudioEncoder.Lame:
- case AudioEncoder.Mp3Passthru:
+ case AudioEncoder.Mp3Passthru:
return 1152;
case AudioEncoder.Ac3:
case AudioEncoder.Passthrough:
case AudioEncoder.Ac3Passthrough:
- case AudioEncoder.DtsPassthrough:
- case AudioEncoder.DtsHDPassthrough:
+ case AudioEncoder.DtsPassthrough:
+ case AudioEncoder.DtsHDPassthrough:
return 1536;
}