mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
3.0.5346.38509
This commit is contained in:
@@ -239,11 +239,14 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
return new SrtParser();
|
||||
}
|
||||
if (string.Equals(format, SubtitleFormat.SSA, StringComparison.OrdinalIgnoreCase) ||
|
||||
string.Equals(format, SubtitleFormat.ASS, StringComparison.OrdinalIgnoreCase))
|
||||
if (string.Equals(format, SubtitleFormat.SSA, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new SsaParser();
|
||||
}
|
||||
if (string.Equals(format, SubtitleFormat.ASS, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return new AssParser();
|
||||
}
|
||||
|
||||
if (throwIfMissing)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user