mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Copy ShotChangeHelper fix
This commit is contained in:
parent
8bc90888c4
commit
1f0d6faf14
@ -28,6 +28,12 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
public static List<double> FromDisk(string videoFileName)
|
||||
{
|
||||
var list = new List<double>();
|
||||
|
||||
if (string.IsNullOrEmpty(videoFileName))
|
||||
{
|
||||
return list;
|
||||
}
|
||||
|
||||
var timeCodesFileName = GetTimeCodesFileName(videoFileName);
|
||||
if (!File.Exists(timeCodesFileName))
|
||||
{
|
||||
@ -41,6 +47,7 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
list.Add(double.Parse(line, CultureInfo.InvariantCulture));
|
||||
}
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user