diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs | 5 |
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)
|