summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/AudioView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-09-08 17:46:28 +0000
committersr55 <[email protected]>2012-09-08 17:46:28 +0000
commitd5bcce8f440245352742d35422fe913eb013bbbd (patch)
tree680afc2f050b871c7cc46eda241169118362c024 /win/CS/HandBrakeWPF/Views/AudioView.xaml
parentda4318f07c23f6755b1b21845b7336990ebabcd4 (diff)
WinGui: Implement hb_get_audio_bitrate_limits() in the Windows UI to provide only valid bitrate options. Also disabled the bitrate selection control for flac.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4938 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/AudioView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/AudioView.xaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AudioView.xaml b/win/CS/HandBrakeWPF/Views/AudioView.xaml
index 4e9c6d92f..2f8d0d8e3 100644
--- a/win/CS/HandBrakeWPF/Views/AudioView.xaml
+++ b/win/CS/HandBrakeWPF/Views/AudioView.xaml
@@ -200,7 +200,7 @@
VerticalAlignment="Center"
FontWeight="Bold"
Text="Bitrate"
- Visibility="{Binding IsPassthru,
+ Visibility="{Binding CanSetBitrate,
Converter={StaticResource boolToVisConverter},
ConverterParameter=true}" />
<ComboBox Grid.Column="5"
@@ -210,7 +210,7 @@
ItemsSource="{Binding TrackReference,
Converter={StaticResource audioBitrateConverter}}"
SelectedItem="{Binding Bitrate}"
- Visibility="{Binding IsPassthru,
+ Visibility="{Binding CanSetBitrate,
Converter={StaticResource boolToVisConverter},
ConverterParameter=true}" />