mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Fix PAC reading issue - thx Milenko :)
This commit is contained in:
parent
17bddc3201
commit
236834a123
@ -41,6 +41,8 @@
|
|||||||
* Fix remembering export buttom margin - thx Michael
|
* Fix remembering export buttom margin - thx Michael
|
||||||
* Skip small/short images when importing vobsub from mkv - thx Maitch
|
* Skip small/short images when importing vobsub from mkv - thx Maitch
|
||||||
* Fix for reading mkv on Linux - thx JGoutin
|
* Fix for reading mkv on Linux - thx JGoutin
|
||||||
|
* Exclude html/ass tags in line lengts (Statistics) - thx AlexandreMT
|
||||||
|
* Fix PAC reading issue - thx Milenko
|
||||||
|
|
||||||
|
|
||||||
3.5.10 (18th August 2019)
|
3.5.10 (18th August 2019)
|
||||||
|
@ -985,12 +985,12 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
|||||||
var p = new Paragraph();
|
var p = new Paragraph();
|
||||||
|
|
||||||
int timeStartIndex = feIndex - 15;
|
int timeStartIndex = feIndex - 15;
|
||||||
if (buffer[timeStartIndex] == 0x60)
|
if (buffer[timeStartIndex] == 0x60 || buffer[timeStartIndex] == 0x61)
|
||||||
{
|
{
|
||||||
p.StartTime = GetTimeCode(timeStartIndex + 1, buffer);
|
p.StartTime = GetTimeCode(timeStartIndex + 1, buffer);
|
||||||
p.EndTime = GetTimeCode(timeStartIndex + 5, buffer);
|
p.EndTime = GetTimeCode(timeStartIndex + 5, buffer);
|
||||||
}
|
}
|
||||||
else if (buffer[timeStartIndex + 3] == 0x60)
|
else if (buffer[timeStartIndex + 3] == 0x60 || buffer[timeStartIndex + 3] == 0x61)
|
||||||
{
|
{
|
||||||
timeStartIndex += 3;
|
timeStartIndex += 3;
|
||||||
p.StartTime = GetTimeCode(timeStartIndex + 1, buffer);
|
p.StartTime = GetTimeCode(timeStartIndex + 1, buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user