summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dc007a072..b4a958cbc 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_H265);
+ return (HBFunctions.hb_qsv_available() & NativeConstants.HB_VCODEC_QSV_H265);
}
catch (Exception)
{