summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
authoragalin89 <[email protected]>2020-03-05 21:05:37 +0000
committerScott <[email protected]>2020-03-11 19:54:53 +0000
commitaaab7e860c8c31fd55d2eb0a939c8c5fe72091ee (patch)
tree4e387ea8b13dcad2e70c30be9f53309369bf4a78 /win/CS/HandBrakeWPF/Services
parent6a133e58c38a929b62227e4a428c4965a14f7fec (diff)
qsv: encoder fixes for newer cpus
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs
index ffcf8bb74..5430dedf4 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs
@@ -327,6 +327,10 @@ namespace HandBrakeWPF.Services.Encode.Factories
{
video.Options = string.IsNullOrEmpty(video.Options) ? "lowpower=1" : ":lowpower=1";
}
+ else if(!configuration.EnableQsvLowPower && !video.Options.Contains("lowpower"))
+ {
+ video.Options = string.IsNullOrEmpty(video.Options) ? "lowpower=0" : ":lowpower=0";
+ }
}
return video;