mirror of https://github.com/jellyfin/jellyfin.git
Update MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
3b69f38a1f
commit
b0b4068ddf
|
@ -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…
Reference in New Issue