mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Testing burn-in with smpte
This commit is contained in:
parent
17166821df
commit
1ca6e2c3d9
@ -412,6 +412,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
|
||||
if (Configuration.Settings.General.CurrentVideoIsSmpte && (decimal)_videoInfo.FramesPerSecond % 1 != 0)
|
||||
{
|
||||
foreach (var assaP in _assaSubtitle.Paragraphs)
|
||||
{
|
||||
assaP.StartTime.TotalMilliseconds /= 1.001;
|
||||
assaP.EndTime.TotalMilliseconds /= 1.001;
|
||||
}
|
||||
}
|
||||
|
||||
FileUtil.WriteAllText(assaTempFileName, format.ToText(_assaSubtitle, null), new TextEncoding(Encoding.UTF8, "UTF8"));
|
||||
|
||||
groupBoxSettings.Enabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user