mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
Merge branch 'master' into hwaccel
This commit is contained in:
@@ -130,10 +130,10 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
}
|
||||
}
|
||||
|
||||
//if (header.Length > 0)
|
||||
//subtitle.Header = header.ToString();
|
||||
// if (header.Length > 0)
|
||||
// subtitle.Header = header.ToString();
|
||||
|
||||
//subtitle.Renumber(1);
|
||||
// subtitle.Renumber(1);
|
||||
}
|
||||
trackInfo.TrackEvents = trackEvents.ToArray();
|
||||
return trackInfo;
|
||||
@@ -261,7 +261,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
text += "</font>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
text = text.Replace(@"{\i1}", "<i>");
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
public class SubtitleEncoder : ISubtitleEncoder
|
||||
{
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILogger<SubtitleEncoder> _logger;
|
||||
private readonly IApplicationPaths _appPaths;
|
||||
private readonly IFileSystem _fileSystem;
|
||||
private readonly IMediaEncoder _mediaEncoder;
|
||||
@@ -640,7 +640,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user