mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fixed time codes in UnknownSubtitle6 (I hope)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@418 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
1b06997c1d
commit
98bab20b5f
@ -83,7 +83,7 @@ SRPSKI
|
||||
sb.AppendLine(string.Format(" {0} {1} " + Environment.NewLine +
|
||||
"1 0 0 0 0 0"+ Environment.NewLine +
|
||||
"{2}" + Environment.NewLine +
|
||||
"{3}", p.StartTime.TotalMilliseconds, p.EndTime.TotalMilliseconds, firstLine, secondLine));
|
||||
"{3}", p.StartTime.TotalMilliseconds / 10, p.EndTime.TotalMilliseconds / 10, firstLine, secondLine));
|
||||
}
|
||||
return sb.ToString().Trim();
|
||||
}
|
||||
@ -119,8 +119,8 @@ SRPSKI
|
||||
{
|
||||
try
|
||||
{
|
||||
paragraph.StartTime.TotalMilliseconds = long.Parse(parts[0]);
|
||||
paragraph.EndTime.TotalMilliseconds = long.Parse(parts[1]);
|
||||
paragraph.StartTime.TotalMilliseconds = long.Parse(parts[0]) * 10;
|
||||
paragraph.EndTime.TotalMilliseconds = long.Parse(parts[1]) * 10;
|
||||
expecting = ExpectingLine.BeforeText;
|
||||
}
|
||||
catch
|
||||
|
Loading…
Reference in New Issue
Block a user