Improve error msg slightly

This commit is contained in:
Nikolaj Olsson 2024-05-29 21:10:50 +02:00
parent 65d1e368c2
commit e6a2c71d39

View File

@ -636,6 +636,10 @@ namespace Nikse.SubtitleEdit.Forms
{
title = "Error: Cannot load amfrt64.dll";
}
else if (_log.ToString().Contains("The minimum required Nvidia driver for nvenc is"))
{
title = "Nvidia driver needs updating";
}
MessageBox.Show($"Encoding with ffmpeg failed: {Environment.NewLine}{_log}", title, MessageBoxButtons.OK, MessageBoxIcon.Error);
}