diff options
author | sr55 <[email protected]> | 2012-09-07 20:19:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-09-07 20:19:42 +0000 |
commit | 47058f32f945051bfb239dd96ccef84574c3d573 (patch) | |
tree | 05a12a0e2b51f5155a6b770fb11bb73f01ff25a0 /win/CS/HandBrake.Interop | |
parent | 421129c9b2ae62557ef0afdcd82c0da750a1e000 (diff) |
WinGui: Add support for new Mixdowns (6.1, 7.1, 7.1 (5F/2R/LFE), Mono left only, Mono Right only). Please note this will break any presets that currently have 6ch (aka 5.1 or 6 Channels Discrete) Presets must be re-created.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4934 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs | 19 |
2 files changed, 19 insertions, 4 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs index cc12aa514..bc34ac380 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs @@ -89,7 +89,7 @@ namespace HandBrake.Interop return NativeConstants.HB_AMIXDOWN_DOLBY;
case Mixdown.Mono:
return NativeConstants.HB_AMIXDOWN_MONO;
- case Mixdown.SixChannelDiscrete:
+ case Mixdown.FivePoint1Channels:
return NativeConstants.HB_AMIXDOWN_6CH;
case Mixdown.Stereo:
return NativeConstants.HB_AMIXDOWN_STEREO;
@@ -125,7 +125,7 @@ namespace HandBrake.Interop case NativeConstants.HB_AMIXDOWN_DOLBYPLII:
return Mixdown.DolbyProLogicII;
case NativeConstants.HB_AMIXDOWN_6CH:
- return Mixdown.SixChannelDiscrete;
+ return Mixdown.FivePoint1Channels;
}
throw new ArgumentException("Unrecognized mixdown: " + mixdown, "mixdown");
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs index 280a5cd2d..ff5d5828e 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs @@ -25,14 +25,29 @@ namespace HandBrake.Interop.Model.Encoding [Display(Name = "Mono")]
Mono,
+ [Display(Name = "Mono (Left Only)")]
+ LeftOnly,
+
+ [Display(Name = "Mono (Right Only)")]
+ RightOnly,
+
[Display(Name = "Stereo")]
Stereo,
[Display(Name = "Dolby Surround")]
DolbySurround,
- [Display(Name = "6-channel discrete")]
- SixChannelDiscrete,
+ [Display(Name = "5.1 Channels")]
+ FivePoint1Channels,
+
+ [Display(Name = "6.1 Channels")]
+ SixPoint1Channels,
+
+ [Display(Name = "7.1 Channels")]
+ SevenPoint1Channels,
+
+ [Display(Name = "7.1 (5F/2R/LFE)")]
+ Five_2_LFE,
[Display(Name = "None")]
None,
|