Fix subtitle encoder if subrip is requested

pull/7960/head
Shadowghost 3 years ago
parent b36543275f
commit a64e21f57a

@ -294,7 +294,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
return true; return true;
} }
if (string.Equals(format, SubtitleFormat.SRT, StringComparison.OrdinalIgnoreCase)) if (string.Equals(format, SubtitleFormat.SRT, StringComparison.OrdinalIgnoreCase) || string.Equals(format, "subrip", StringComparison.OrdinalIgnoreCase))
{ {
value = new SrtWriter(); value = new SrtWriter();
return true; return true;

Loading…
Cancel
Save