From b0b4068ddfaeed023d20c0c96ffa992bcaaee505 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Sat, 30 Jul 2022 14:59:00 +0200 Subject: [PATCH] Update MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs Co-authored-by: Bond-009 --- MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs index c94242b4b9..e95cb12d2c 100644 --- a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs +++ b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs @@ -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; }