mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add subtitle fix for tizen
This commit is contained in:
parent
b0c0b77aed
commit
7a2cb6da5a
@ -141,8 +141,14 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
.ConfigureAwait(false);
|
||||
|
||||
var inputFormat = subtitle.Item2;
|
||||
var writer = TryGetWriter(outputFormat);
|
||||
|
||||
if (string.Equals(inputFormat, outputFormat, StringComparison.OrdinalIgnoreCase) && TryGetWriter(outputFormat) == null)
|
||||
if (string.Equals(inputFormat, outputFormat, StringComparison.OrdinalIgnoreCase) && writer == null)
|
||||
{
|
||||
return subtitle.Item1;
|
||||
}
|
||||
|
||||
if (writer == null)
|
||||
{
|
||||
return subtitle.Item1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user