mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 10:42:35 +01:00
Allow empty time codes for format "Unknown 66" - thx darnn :)
Fix #8288
This commit is contained in:
parent
c31518adc3
commit
bc8c4c0cb5
@ -84,14 +84,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
}
|
||||
else if (string.IsNullOrWhiteSpace(line))
|
||||
{
|
||||
if (Math.Abs(p.StartTime.TotalMilliseconds) < 0.001 && Math.Abs(p.EndTime.TotalMilliseconds) < 0.001)
|
||||
{
|
||||
_errorCount++;
|
||||
}
|
||||
else
|
||||
{
|
||||
subtitle.Paragraphs.Add(p);
|
||||
}
|
||||
subtitle.Paragraphs.Add(p);
|
||||
|
||||
p = new Paragraph();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user