summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
index 21c648525..dc007a072 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
@@ -90,7 +90,7 @@ namespace HandBrake.ApplicationServices.Utilities
{
try
{
- return HBFunctions.hb_qsv_available() == NativeConstants.HB_VCODEC_QSV_H264;
+ return (HBFunctions.hb_qsv_available() && NativeConstants.HB_VCODEC_QSV_H264);
}
catch (Exception)
{
@@ -109,7 +109,7 @@ namespace HandBrake.ApplicationServices.Utilities
{
try
{
- return HBFunctions.hb_qsv_available() == (NativeConstants.HB_VCODEC_QSV_H264 | NativeConstants.HB_VCODEC_QSV_H265);
+ return (HBFunctions.hb_qsv_available() && NativeConstants.HB_VCODEC_QSV_H265);
}
catch (Exception)
{