summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Encode/Factories
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-12-26 14:49:34 +0000
committersr55 <[email protected]>2016-12-26 14:49:34 +0000
commit6b633b8f6b3f19433ca8a3d42affd737ca726f5d (patch)
treee8e1199df86425d4412f9734023fc42aee788896 /win/CS/HandBrakeWPF/Services/Encode/Factories
parent88a31ba4a1869995a2c358be9819b0df4db031e7 (diff)
WinGui: New Setting to allow the QSV decoder to be used with Non QSV encoders. (Was on by default and not configurable. Now off by default but configurable)
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Factories')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
index a390db6fb..31f315f7e 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
@@ -305,6 +305,12 @@ namespace HandBrakeWPF.Services.Encode.Factories
video.QSV.Decode = SystemInfo.IsQsvAvailable && !configuration.DisableQuickSyncDecoding;
+ // The use of the QSV decoder is configurable for non QSV encoders.
+ if (video.QSV.Decode && job.VideoEncoder != VideoEncoder.QuickSync && job.VideoEncoder != VideoEncoder.QuickSyncH265)
+ {
+ video.QSV.Decode = configuration.UseQSVDecodeForNonQSVEnc;
+ }
+
return video;
}