summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorMax Dmytrychenko <[email protected]>2015-09-30 13:01:39 +0200
committerMax Dmytrychenko <[email protected]>2015-09-30 13:01:39 +0200
commit393f4ca378053495f31f118d336b8fcaf9ef5a1e (patch)
treea7483115d5c28df95ef5a2ffc82c9bed9d1a850a /win/CS/HandBrake.ApplicationServices/Utilities
parent1a443b665393ab39449a4d1b4437ae114e6522a7 (diff)
better usage of MASK for feature detection, OR fix
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-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)
{