Re-add check for missing sub in Gen-video - thx David

Related to https://github.com/SubtitleEdit/subtitleedit/issues/6760#issuecomment-1475391722
This commit is contained in:
niksedk 2023-03-20 17:50:33 +01:00
parent cfd1eade1f
commit ab7f7a6c60
2 changed files with 6 additions and 2 deletions

View File

@ -1151,12 +1151,10 @@ namespace Nikse.SubtitleEdit.Forms
if (checkBoxTargetFileSize.Checked)
{
comboBoxAudioEnc.Text = "aac";
labelAudioBitRate.Enabled = true;
comboBoxAudioBitRate.Enabled = true;
}
else
{
labelAudioBitRate.Enabled = false;
comboBoxAudioBitRate.Enabled = false;
}

View File

@ -34126,6 +34126,12 @@ namespace Nikse.SubtitleEdit.Forms
return;
}
if (_subtitle == null || _subtitle.Paragraphs.Count == 0)
{
DisplaySubtitleNotLoadedMessage();
return;
}
if (!RequireFfmpegOk())
{
return;