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…
Reference in New Issue
Block a user