diff options
author | sr55 <[email protected]> | 2011-03-20 17:49:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-03-20 17:49:20 +0000 |
commit | fdef4b5164b56403a2a6710ffb5a605d0e434924 (patch) | |
tree | 598261e64d7b742ecdc40c801cbf6a8295a1648e /win/CS/HandBrake.ApplicationServices | |
parent | fc436bc475affd57046a4408a60730ec6f3d2fa6 (diff) |
WinGui:
- Bugfixes in the audio panel to handle the enumerations correctly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3856 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs | 6 | ||||
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs index c6f838ed7..23d7d9e2f 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioEncoder.cs @@ -18,13 +18,13 @@ namespace HandBrake.ApplicationServices.Model.Encoding [Description("AC3 (ffmpeg)")]
Ac3,
- [Description("Passthrough (AC3/DTS)")]
+ [Description("Passthru")]
Passthrough,
- [Description("Passthrough (AC3)")]
+ [Description("AC3 Passthru")]
Ac3Passthrough,
- [Description("Passthrough (DTS)")]
+ [Description("DTS Passthru")]
DtsPassthrough,
[Description("Vorbis (vorbis)")]
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs index 7e4e73baa..efc83429a 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs @@ -375,7 +375,7 @@ namespace HandBrake.ApplicationServices.Utilities if (trackSamplerates != null)
if (trackSamplerates.Length >= (x + 1)) // Audio SampleRate
- track.SampleRate = double.Parse(trackSamplerates[x].Trim());
+ track.SampleRate = double.Parse(trackSamplerates[x].Replace("Auto", "0").Trim());
if (trackDRCvalues != null)
if (trackDRCvalues.Length >= (x + 1)) // Audio DRC Values
|