summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-09-17 21:06:20 +0000
committersr55 <[email protected]>2013-09-17 21:06:20 +0000
commit20b4e6c65010d656dafdf5b3f17ad0fcb7057b22 (patch)
tree163edb712d0b062ee9e4dfd559dcb92ede9f156e /win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
parent5d487e5c023e9c5c8252b0449e007248bea0e8a9 (diff)
WinGui: Remove the option to disable libhb features as it's now vital to have this dll present.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5785 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
index 6eb669114..af4a57bcd 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
@@ -74,6 +74,11 @@ namespace HandBrake.ApplicationServices.Utilities
{
try
{
+ if (!GeneralUtilities.IsLibHbPresent)
+ {
+ return false; // Feature is disabled.
+ }
+
return HBFunctions.hb_qsv_available() == 1;
}
catch (Exception)