summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-02-11 14:25:46 +0000
committersr55 <[email protected]>2019-02-11 14:26:08 +0000
commit4e343a88bacfdc1d48d79442e81611bade6ab29a (patch)
tree250f62133f4f96831e8edacbfe337436c9d45f0c /win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
parentc1304a51781c70628522b1bd67b11b4639d0f71c (diff)
WinGui: Utilise new hb_global_init_no_hardware when hb_global_init fails. The preferences Video tab now notes that hardware encoding options are disabled.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
index cf63d1daf..f4daf2e23 100644
--- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
@@ -19,6 +19,7 @@ namespace HandBrakeWPF.ViewModels
using Caliburn.Micro;
+ using HandBrake.Interop.Interop;
using HandBrake.Interop.Model;
using HandBrake.Interop.Utilities;
@@ -1161,6 +1162,8 @@ namespace HandBrakeWPF.ViewModels
}
}
+ public bool IsHardwareFallbackMode => HandBrakeUtils.IsUsingNoHardwareFallback();
+
#endregion
#endregion