From bb5d4839bbca6b6cde4aebe7449bb71dcb260880 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 17 Feb 2017 19:11:19 +0000 Subject: [PATCH] WinGui: Fix a logic error in 8vs10bit video encoder detection in the advanced view. --- win/CS/HandBrakeWPF/ViewModels/X264ViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0