From 89e5b03264f0b272da9861a3f4a74adf235a10a6 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 30 Apr 2011 12:49:44 +0000 Subject: WinGui: - Fix an issue where the user could overwrite a built-in preset. - Fix some more audio issues in relation to incorrect bitrate and sample rate being selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3970 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Model') diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index 1c688e79e..6a06586b2 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -105,7 +105,12 @@ namespace HandBrake.ApplicationServices.Model.Encoding { get { - return this.Bitrate == 0 ? "Auto" : this.Bitrate.ToString(); + if (this.Encoder == AudioEncoder.Ac3Passthrough || this.Encoder == AudioEncoder.DtsPassthrough) + { + return "Auto"; + } + + return this.Bitrate.ToString(); } } -- cgit v1.2.3