mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
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:
parent
0d30f68eb8
commit
46e2bb1f66
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user