diff options
author | sr55 <[email protected]> | 2019-04-06 15:41:04 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-04-06 15:41:04 +0100 |
commit | 8065029c806e5e50e2ef7828f0ee1edf96c41031 (patch) | |
tree | 8e74496b38eb76f104c1883573fb78f5f13f7973 /win/CS/HandBrakeWPF/App.xaml.cs | |
parent | 42594b81c948bd55c862c680e8af5e2618989127 (diff) |
WinGui: Add "hardware.enabled" option to portable.ini
Diffstat (limited to 'win/CS/HandBrakeWPF/App.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/App.xaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/App.xaml.cs b/win/CS/HandBrakeWPF/App.xaml.cs index c784eb7a5..ce31b066d 100644 --- a/win/CS/HandBrakeWPF/App.xaml.cs +++ b/win/CS/HandBrakeWPF/App.xaml.cs @@ -124,7 +124,7 @@ namespace HandBrakeWPF // NO-Hardware Mode
- bool noHardware = e.Args.Any(f => f.Equals("--no-hardware"));
+ bool noHardware = e.Args.Any(f => f.Equals("--no-hardware")) || (Portable.IsPortable() && !Portable.IsHardwareEnabled());
// Initialise the Engine
HandBrakeWPF.Helpers.LogManager.Init();
|