diff options
author | agalin89 <[email protected]> | 2020-03-05 21:05:37 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2020-03-11 19:54:53 +0000 |
commit | aaab7e860c8c31fd55d2eb0a939c8c5fe72091ee (patch) | |
tree | 4e387ea8b13dcad2e70c30be9f53309369bf4a78 /win/CS/HandBrakeWPF/Services | |
parent | 6a133e58c38a929b62227e4a428c4965a14f7fec (diff) |
qsv: encoder fixes for newer cpus
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeTaskFactory.cs | 4 |
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; |