diff options
author | sr55 <[email protected]> | 2008-02-14 18:50:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-02-14 18:50:49 +0000 |
commit | 4a568a578d70c21b438400f6ed1868078306afee (patch) | |
tree | cde3de7741f832ac83386a61c402508e1ea1a997 /win | |
parent | 7f47f025072962500a98dfaed1dbf2fbf05534cb (diff) |
WinGui:
- Disable Audio Bitrate and Sample Rate dropdowns when AC3 is selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1264 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/frmMain.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 0d9e6f4c1..5ed59a0e6 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -782,6 +782,20 @@ namespace Handbrake private void drp_audioCodec_SelectedIndexChanged(object sender, EventArgs e)
{
+ if (drp_audioCodec.Text == "AC3")
+ {
+ drp_audioBitrate.Enabled = false;
+ drp_audioSampleRate.Enabled = false;
+ drp_audioBitrate.Text = "";
+ drp_audioSampleRate.Text = "";
+ }
+ else
+ {
+ drp_audioBitrate.Enabled = true;
+ drp_audioSampleRate.Enabled = true;
+ drp_audioBitrate.Text = "160";
+ drp_audioSampleRate.Text = "48";
+ }
if (drp_audioCodec.Text == "AAC")
{
drp_audioMixDown.Items.Clear();
|