Merge remote-tracking branch 'upstream/master' into hwaccel

This commit is contained in:
Vasily
2020-06-08 14:44:21 +03:00
453 changed files with 4808 additions and 2109 deletions

View File

@@ -33,10 +33,12 @@ namespace MediaBrowser.MediaEncoding.Subtitles
{
continue;
}
if (line.StartsWith("["))
{
break;
if (string.IsNullOrEmpty(line))
continue;
}
var subEvent = new SubtitleTrackEvent { Id = eventIndex.ToString(_usCulture) };
eventIndex++;
var sections = line.Substring(10).Split(',');