diff options
author | Max Dmytrychenko <[email protected]> | 2015-09-30 13:01:39 +0200 |
---|---|---|
committer | Max Dmytrychenko <[email protected]> | 2015-09-30 13:01:39 +0200 |
commit | 393f4ca378053495f31f118d336b8fcaf9ef5a1e (patch) | |
tree | a7483115d5c28df95ef5a2ffc82c9bed9d1a850a | |
parent | 1a443b665393ab39449a4d1b4437ae114e6522a7 (diff) |
better usage of MASK for feature detection, OR fix
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs | 4 |
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)
{
|