mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 20:14:45 +01:00
fix SA1513/SA1516
This commit is contained in:
@@ -135,6 +135,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
|
||||
// subtitle.Renumber(1);
|
||||
}
|
||||
|
||||
trackInfo.TrackEvents = trackEvents.ToArray();
|
||||
return trackInfo;
|
||||
}
|
||||
@@ -302,6 +303,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
return count;
|
||||
index = text.IndexOf(tag, index + 1);
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@@ -329,6 +331,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
rest = string.Empty;
|
||||
}
|
||||
|
||||
extraTags += " size=\"" + fontSize.Substring(2) + "\"";
|
||||
}
|
||||
else if (rest.StartsWith("fn") && rest.Length > 2)
|
||||
@@ -344,6 +347,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
rest = string.Empty;
|
||||
}
|
||||
|
||||
extraTags += " face=\"" + fontName.Substring(2) + "\"";
|
||||
}
|
||||
else if (rest.StartsWith("c") && rest.Length > 2)
|
||||
|
||||
Reference in New Issue
Block a user