mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
[timecode] - parse last part with double instead
This commit is contained in:
parent
e0962af59a
commit
45256ac738
@ -424,7 +424,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
if (parts.Length != 4)
|
||||
throw new InvalidOperationException();
|
||||
// 00:00:00:00
|
||||
return new TimeCode(int.Parse(parts[0]), int.Parse(parts[1]), int.Parse(parts[2]), FramesToMillisecondsMax999(int.Parse(parts[3])));
|
||||
return new TimeCode(int.Parse(parts[0]), int.Parse(parts[1]), int.Parse(parts[2]), FramesToMillisecondsMax999(double.Parse(parts[3])));
|
||||
}
|
||||
|
||||
protected TimeCode DecodeTimeCodeFrames(string part, char[] splitChars)
|
||||
|
Loading…
Reference in New Issue
Block a user