diff options
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs index 9e1a82966..a390db6fb 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs @@ -36,6 +36,7 @@ namespace HandBrakeWPF.Services.Encode.Factories using PointToPointMode = HandBrakeWPF.Services.Encode.Model.Models.PointToPointMode; using Subtitle = HandBrake.ApplicationServices.Interop.Json.Encode.Subtitles; using SubtitleTrack = HandBrakeWPF.Services.Encode.Model.Models.SubtitleTrack; + using SystemInfo = HandBrake.ApplicationServices.Utilities.SystemInfo; using Validate = HandBrakeWPF.Helpers.Validate; /// <summary> @@ -301,7 +302,8 @@ namespace HandBrakeWPF.Services.Encode.Factories } video.OpenCL = configuration.ScalingMode == VideoScaler.BicubicCl; - video.QSV.Decode = !configuration.DisableQuickSyncDecoding; + + video.QSV.Decode = SystemInfo.IsQsvAvailable && !configuration.DisableQuickSyncDecoding; return video; } |