]> granicus.if.org Git - handbrake/commitdiff
WinGui: Workaround an issue with audio controls not updating when no audio tracks...
authorsr55 <sr55.hb@outlook.com>
Fri, 16 Sep 2011 18:42:24 +0000 (18:42 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 16 Sep 2011 18:42:24 +0000 (18:42 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4226 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/Controls/AudioPanel.cs

index 59464077ca24cc881c957fa532cd44e3233ef844..84ff1e509d087640b352839d8e48045bb26da455 100644 (file)
@@ -404,6 +404,10 @@ namespace Handbrake.Controls
                     DRC = 0,\r
                 };\r
 \r
+            // Force an update of the mixdown control\r
+            this.SetMixDown(EnumHelper<Mixdown>.GetDisplay(track.MixDown));\r
+            this.SetBitrate(track.Bitrate);\r
+\r
             this.audioTracks.Add(track);\r
 \r
             // The Audio List has changed to raise the event.\r