summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorMax Dmytrychenko <[email protected]>2015-09-30 17:15:44 +0200
committerMax Dmytrychenko <[email protected]>2015-09-30 17:15:44 +0200
commite1affccdeb764234d55829108e00025dc75a0f37 (patch)
tree45c8ca997861f9fcd230e60323a22060b6e7de4f /win/CS/HandBrake.ApplicationServices/Utilities
parent393f4ca378053495f31f118d336b8fcaf9ef5a1e (diff)
fix .NET condition
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs
index b4a958cbc..bd705e6d3 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) != 0;
}
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) != 0;
}
catch (Exception)
{
@@ -161,4 +161,4 @@ namespace HandBrake.ApplicationServices.Utilities
}
}
}
-} \ No newline at end of file
+}