diff options
author | sr55 <[email protected]> | 2019-10-16 21:50:43 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-10-16 21:50:53 +0100 |
commit | e86e66d0cf411f2ec5ffedea236753f66c4de753 (patch) | |
tree | 80ca4345b02bf4bcb9778a804d150ca8b2c69777 /win/CS/HandBrakeWPF/Converters | |
parent | 857096d0c95c9f80a642ce29c2ee34b0e8cb05ba (diff) |
WinGui: Fix display of NVENC quality label on queue. Fixes #2363
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/Video/VideoOptionsTooltipConverter.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoOptionsTooltipConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoOptionsTooltipConverter.cs index 7b4ec0fc0..1040b160f 100644 --- a/win/CS/HandBrakeWPF/Converters/Video/VideoOptionsTooltipConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Video/VideoOptionsTooltipConverter.cs @@ -49,7 +49,13 @@ namespace HandBrakeWPF.Converters.Video {
string rfqp = task.VideoEncoder == VideoEncoder.X264 || task.VideoEncoder == VideoEncoder.X264_10 || task.VideoEncoder == VideoEncoder.X265
|| task.VideoEncoder == VideoEncoder.X265_10 || task.VideoEncoder == VideoEncoder.X265_12 ? "RF" : "QP";
- string quality = task.VideoEncodeRateType == VideoEncodeRateType.ConstantQuality ? task.Quality + rfqp : task.VideoBitrate + " kbps";
+
+ if (task.VideoEncoder == VideoEncoder.NvencH264 || task.VideoEncoder == VideoEncoder.NvencH265)
+ {
+ rfqp = "CQ";
+ }
+
+ string quality = task.VideoEncodeRateType == VideoEncodeRateType.ConstantQuality ? string.Format("{0} {1}", task.Quality, rfqp) : string.Format("{0} {1}", task.VideoBitrate, " kbps");
string twoPass = null;
if (task.VideoEncodeRateType == VideoEncodeRateType.AverageBitrate)
|