mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2025-01-31 13:01:39 +01:00
Trying to improve comment - thx ivandrofly :)
This commit is contained in:
parent
af6dee6621
commit
c988a77ea8
@ -106,7 +106,8 @@ namespace Nikse.SubtitleEdit.Core
|
||||
|
||||
if (totalDuration / subtitle.Paragraphs.Count > 1000000 || msFound == subtitle.Paragraphs.Count)
|
||||
{
|
||||
// Switch from seconds to milliseconds
|
||||
// Time codes were read as seconds, but they are actually milliseconds,
|
||||
// so all time codes are divided by 1000.
|
||||
foreach (var p in subtitle.Paragraphs)
|
||||
{
|
||||
p.StartTime.TotalMilliseconds = p.StartTime.TotalMilliseconds / TimeCode.BaseUnit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user