diff --git a/src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs b/src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs index 12a5e611b..2cc77cf7d 100644 --- a/src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs +++ b/src/ui/Forms/GenerateVideoWithHardSubs.Designer.cs @@ -1083,7 +1083,9 @@ namespace Nikse.SubtitleEdit.Forms "hevc_nvenc", "h264_amf", "hevc_amf", - "prores_ks"}); + "prores_ks", + "h264_qsv", + "hevc_qsv"}); this.comboBoxVideoEncoding.Location = new System.Drawing.Point(95, 49); this.comboBoxVideoEncoding.MaxLength = 32767; this.comboBoxVideoEncoding.Name = "comboBoxVideoEncoding"; diff --git a/src/ui/Forms/GenerateVideoWithHardSubs.cs b/src/ui/Forms/GenerateVideoWithHardSubs.cs index b79405b6f..81ddc9f79 100644 --- a/src/ui/Forms/GenerateVideoWithHardSubs.cs +++ b/src/ui/Forms/GenerateVideoWithHardSubs.cs @@ -1163,7 +1163,7 @@ namespace Nikse.SubtitleEdit.Forms audioCutTracks); } - private string GetPixelFormat(string text) + private static string GetPixelFormat(string text) { if (string.IsNullOrEmpty(text)) { @@ -1522,6 +1522,13 @@ namespace Nikse.SubtitleEdit.Forms comboBoxTune.Visible = false; comboBoxTune.Text = string.Empty; } + else if (videoCodec == "h264_qsv" || videoCodec == "hevc_qsv") // Intel + { + items = new List { string.Empty }; + labelTune.Visible = false; + comboBoxTune.Visible = false; + comboBoxTune.Text = string.Empty; + } comboBoxTune.Items.Clear(); foreach (var item in items)