From 46e2bb1f661d20e2b3397b5b37b6a23a5d381b91 Mon Sep 17 00:00:00 2001 From: niksedk Date: Fri, 16 Aug 2013 20:01:28 +0000 Subject: [PATCH] Allow 23 frames in ebu stl - thx Raul :) git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@2002 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Logic/SubtitleFormats/Ebu.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Logic/SubtitleFormats/Ebu.cs b/src/Logic/SubtitleFormats/Ebu.cs index 3a2b6e397..5ef088ffa 100644 --- a/src/Logic/SubtitleFormats/Ebu.cs +++ b/src/Logic/SubtitleFormats/Ebu.cs @@ -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"))