Update change log

This commit is contained in:
Nikolaj Olsson 2018-10-10 10:41:29 +02:00
parent d9dabe071c
commit af0c35a875
2 changed files with 37 additions and 15 deletions

View File

@ -1,5 +1,29 @@
Subtitle Edit Changelog Subtitle Edit Changelog
3.5.8 (xth December 2018)
* NEW:
* Add new subtitle formats
* Add some image pre-processing for OCR
* IMPROVED:
* Update Bulgarian translation - thx KalinM
* Update Finnish translation - thx Teijo S
* Update Korean translation - thx domddol
* Update Catalan translation - thx Juansa
* Update Hungarian translation - thx Zityi
* Make custom "Choose font" dialog - thx OmrSi
* Update Bing translator from V2 to V3 API
* Faster Tesseract OCR if CPU has many cores
* FIXED:
* Go back to Tesseract 3.02 (T4 available as in-program download)
* Fix Bing translator sign-up url - thx sopor
* Fix common OCR errors change " L* to " I." - thx Araynilmar
* Fix for loading video file after openening .mks file
* Fix crash in "Point sync" - thx Kari
* Fix crash in export of compare result - thx billysamk
* Fix missing titles from PGS inside MKV - thx ManChicken1911
3.5.7 (9th August 2018) 3.5.7 (9th August 2018)
* NEW: * NEW:
* Add new subtitle formats * Add new subtitle formats

View File

@ -529,21 +529,19 @@ namespace Nikse.SubtitleEdit.Core.BluRaySup
Message = "ObjId: " + objId + ", ver: " + objVer + ", seq: first" + (last ? "/" : "") + (last ? "" + "last" : "") + ", width: " + width + ", height: " + height, Message = "ObjId: " + objId + ", ver: " + objVer + ", seq: first" + (last ? "/" : "") + (last ? "" + "last" : "") + ", width: " + width + ", height: " + height,
}; };
} }
else
{
info.ImagePacketSize = segment.Size - 4;
info.ImageBuffer = new byte[info.ImagePacketSize];
Buffer.BlockCopy(buffer, 4, info.ImageBuffer, 0, info.ImagePacketSize);
return new OdsData info.ImagePacketSize = segment.Size - 4;
{ info.ImageBuffer = new byte[info.ImagePacketSize];
IsFirst = false, Buffer.BlockCopy(buffer, 4, info.ImageBuffer, 0, info.ImagePacketSize);
ObjectId = objId,
ObjectVersion = objVer, return new OdsData
Fragment = info, {
Message = "Continued ObjId: " + objId + ", ver: " + objVer + ", seq: " + (last ? "" + "last" : ""), IsFirst = false,
}; ObjectId = objId,
} ObjectVersion = objVer,
Fragment = info,
Message = "Continued ObjId: " + objId + ", ver: " + objVer + ", seq: " + (last ? "" + "last" : ""),
};
} }
public static List<PcsData> ParseBluRaySup(Stream ms, StringBuilder log, bool fromMatroskaFile, Dictionary<int, List<PaletteInfo>> lastPalettes = null) public static List<PcsData> ParseBluRaySup(Stream ms, StringBuilder log, bool fromMatroskaFile, Dictionary<int, List<PaletteInfo>> lastPalettes = null)
@ -833,7 +831,7 @@ namespace Nikse.SubtitleEdit.Core.BluRaySup
{ {
if (buffer.Length < 4) if (buffer.Length < 4)
return 0; return 0;
return (uint)((buffer[index + 3]) + (buffer[index + 2] << 8) + (buffer[index + 1] << 0x10) + (buffer[index + 0] << 0x18)); return (uint)(buffer[index + 3] + (buffer[index + 2] << 8) + (buffer[index + 1] << 0x10) + (buffer[index + 0] << 0x18));
} }
} }