mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-06 04:15:33 +01:00
add subtitle fix for tizen
This commit is contained in:
parent
b0c0b77aed
commit
7a2cb6da5a
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Reference in a new issue