Allow 23 frames in ebu stl - thx Raul :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@2002 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-08-16 20:01:28 +00:00
parent 0d30f68eb8
commit 46e2bb1f66

View File

@ -58,6 +58,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
{
get
{
if (DiskFormatCode.StartsWith("STL23"))
return 23.0;
if (DiskFormatCode.StartsWith("STL24"))
return 24.0;
if (DiskFormatCode.StartsWith("STL25"))
@ -517,7 +519,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
{
byte[] buffer = File.ReadAllBytes(fileName);
EbuGeneralSubtitleInformation header = ReadHeader(buffer);
if (header.DiskFormatCode.StartsWith("STL24") ||
if (header.DiskFormatCode.StartsWith("STL23") ||
header.DiskFormatCode.StartsWith("STL24") ||
header.DiskFormatCode.StartsWith("STL25") ||
header.DiskFormatCode.StartsWith("STL29") ||
header.DiskFormatCode.StartsWith("STL30"))