diff options
author | sr55 <[email protected]> | 2017-02-17 19:11:19 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-02-17 19:11:42 +0000 |
commit | fe7712362d7fe00b756d64220c187674bb157c8c (patch) | |
tree | f250d41b2bdade9dbfe710e81a25da03ff2b510e /win | |
parent | 5ee39d7f66ae1438db2121194a3acc3e397c56f8 (diff) |
WinGui: Fix a logic error in 8vs10bit video encoder detection in the advanced view.
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs index ac92b760f..9a9e905e0 100644 --- a/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs @@ -934,7 +934,7 @@ namespace HandBrakeWPF.ViewModels this.Task.PropertyChanged += this.Task_PropertyChanged;
this.AdvancedOptionsString = preset.Task.AdvancedEncoderOptions;
- if (task.ShowAdvancedTab && task.VideoEncoder == VideoEncoder.X264 && task.VideoEncoder == VideoEncoder.X264_10)
+ if (task.ShowAdvancedTab && (task.VideoEncoder == VideoEncoder.X264 || task.VideoEncoder == VideoEncoder.X264_10))
{
this.ShowX264AdvancedOptions = true;
this.NotifyOfPropertyChange(() => ShowX264AdvancedOptions);
|