summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-09-16 18:42:24 +0000
committersr55 <[email protected]>2011-09-16 18:42:24 +0000
commitee032aae30e70df2e9586abda9516cf2bb457990 (patch)
tree8ec09c6c25cad5427f2584ae0ba12f37b226eb35 /win/CS
parent454b357568586289bea24d6c0043fe415bb28512 (diff)
WinGui: Workaround an issue with audio controls not updating when no audio tracks are selected. Controls will not update after a track is added.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4226 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/Controls/AudioPanel.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs
index 59464077c..84ff1e509 100644
--- a/win/CS/Controls/AudioPanel.cs
+++ b/win/CS/Controls/AudioPanel.cs
@@ -404,6 +404,10 @@ namespace Handbrake.Controls
DRC = 0,
};
+ // Force an update of the mixdown control
+ this.SetMixDown(EnumHelper<Mixdown>.GetDisplay(track.MixDown));
+ this.SetBitrate(track.Bitrate);
+
this.audioTracks.Add(track);
// The Audio List has changed to raise the event.