summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-04-10 21:13:16 +0000
committersr55 <[email protected]>2015-04-10 21:13:16 +0000
commitf02bf0d2bc5035f74488585c5909a65c875f671d (patch)
tree7620c463e8f26ead22b210e4b8be07ec4d8501fe /win/CS/HandBrakeWPF
parentd653dcdc2bcf03dccf0115e348e21e8074c9284d (diff)
WinGui: When Switching from x264 to another encoder, the video tab options would be disabled if "Use Advanced Tab" was turned on. This is now fixed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7082 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
index 14ff6cd70..6d72d0590 100644
--- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
@@ -1160,6 +1160,11 @@ namespace HandBrakeWPF.ViewModels
/// </param>
private void HandleEncoderChange(VideoEncoder selectedEncoder)
{
+ if (selectedEncoder != VideoEncoder.X264)
+ {
+ this.UseAdvancedTab = false;
+ }
+
HBVideoEncoder encoder = HandBrakeEncoderHelpers.VideoEncoders.FirstOrDefault(s => s.ShortName == EnumHelper<VideoEncoder>.GetShortName(selectedEncoder));
if (encoder != null)
{