diff options
author | sr55 <[email protected]> | 2019-07-01 18:13:37 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-07-01 18:14:30 +0100 |
commit | 3ae33f0ea95a681df29a5ab6e8c0f3507298e863 (patch) | |
tree | bba7a1beec39ca41196eb7c1af46e9d70e70cb50 /win/CS/HandBrakeWPF/ViewModels | |
parent | 5768135e98a642e81b98c01fe05f36070686ae8e (diff) |
WinGui: Prevent Fast Decode from being double set when changing to x265 from x264 where Fast Decode checkbox was checked. Fixes #2175
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index 834d4a367..ce3523573 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -1446,6 +1446,11 @@ namespace HandBrakeWPF.ViewModels this.DisplayFastDecode = this.SelectedVideoEncoder == VideoEncoder.X264 || this.SelectedVideoEncoder == VideoEncoder.X264_10;
this.NotifyOfPropertyChange(() => this.DisplayFastDecode);
+ if (!this.DisplayFastDecode)
+ {
+ this.FastDecode = false;
+ }
+
this.DisplayProfileControl = this.SelectedVideoEncoder == VideoEncoder.X264
|| this.SelectedVideoEncoder == VideoEncoder.X264_10
|| this.SelectedVideoEncoder == VideoEncoder.X265
|