Update MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/8087/head
Claus Vium 2 years ago committed by GitHub
parent 3b69f38a1f
commit b0b4068ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -102,7 +102,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
foreach (var type in assembly.GetTypes())
{
if (!type.IsSubclassOf(typeof(SubtitleFormat)))
if (!type.IsSubclassOf(typeof(SubtitleFormat)) || type.IsAbstract)
{
continue;
}

Loading…
Cancel
Save