summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Converters
diff options
context:
space:
mode:
authorScott <[email protected]>2015-09-24 20:44:55 +0100
committerScott <[email protected]>2015-09-24 20:44:55 +0100
commite7912cc00a8aa031e494bb6f0554939059da89d3 (patch)
treef095829845df7513f4e2815b9d0ea0a150e2a6ca /win/CS/HandBrakeWPF/Converters
parentbf85b6277de7fc00bb66cc858d880e190aba59c4 (diff)
WinGui: Enable support for H.265 QuickSync support
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r--win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
index ffe11ffef..d0ef60775 100644
--- a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
+++ b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
@@ -57,11 +57,17 @@ namespace HandBrakeWPF.Converters.Video
encoders.Remove(VideoEncoder.VP8);
}
- if (!SystemInfo.IsQsvAvailable)
+ if (!SystemInfo.IsQsvAvailableH264)
{
encoders.Remove(VideoEncoder.QuickSync);
}
+ if (!SystemInfo.IsQsvAvailableH265)
+ {
+ encoders.Remove(VideoEncoder.QuickSyncH265);
+ }
+
+
return EnumHelper<VideoEncoder>.GetEnumDisplayValuesSubset(encoders);
}