summaryrefslogtreecommitdiffstats
path: root/win/CS/ToolWindows/AdvancedAudio.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-04-23 14:24:14 +0000
committersr55 <[email protected]>2011-04-23 14:24:14 +0000
commit4b6453fbe090c32e379b63b42baaf079f01d437e (patch)
tree772b075376125eb548b6b657b446ad8b95c7925b /win/CS/ToolWindows/AdvancedAudio.cs
parent47221be3bbe8d7dae0a714d736ae0f0b23ee08ba (diff)
WinGui:
- Multiple bug fixes to the Audio Panel. (Disable DRC for non AC3 sources, DPL2 getting swaped out for stereo when you click between tracks, Exception thrown due to the source track not getting pushed into the Audio model before it's used.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3952 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/ToolWindows/AdvancedAudio.cs')
-rw-r--r--win/CS/ToolWindows/AdvancedAudio.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/ToolWindows/AdvancedAudio.cs b/win/CS/ToolWindows/AdvancedAudio.cs
index 5adc7c49e..fba1f7cb6 100644
--- a/win/CS/ToolWindows/AdvancedAudio.cs
+++ b/win/CS/ToolWindows/AdvancedAudio.cs
@@ -38,6 +38,7 @@ namespace Handbrake.ToolWindows
{
return this.track;
}
+
set
{
this.track = value;
@@ -71,6 +72,8 @@ namespace Handbrake.ToolWindows
int.TryParse(drcValue.ToString(Culture), out drcCalculated);
tb_drc.Value = drcCalculated;
lbl_drc.Text = track.DRC.ToString();
+ tb_drc.Enabled = track.TrackDisplay.Contains("(AC3)");
+
}
}