diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-10-26 22:53:53 +0200 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-11-25 12:07:59 +0100 |
| commit | cc5acf37f75d2c652d9cd855ebc34a1e7d414a9f (patch) | |
| tree | 1e5f031518b68a15dd9e41f7dde1273a678b3524 /MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs | |
| parent | e7098f1997ee74eb3bdaad33836839ace6d80f64 (diff) | |
Make probesize and analyzeduration configurable and simplify circular
dependencies
Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
Diffstat (limited to 'MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs index 962f4d2fe..c382b20c9 100644 --- a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs +++ b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs @@ -1,12 +1,15 @@ +using System; +using System.Collections.Generic; + namespace MediaBrowser.Model.MediaInfo { public class SubtitleTrackInfo { - public SubtitleTrackEvent[] TrackEvents { get; set; } + public IReadOnlyList<SubtitleTrackEvent> TrackEvents { get; set; } public SubtitleTrackInfo() { - TrackEvents = new SubtitleTrackEvent[] { }; + TrackEvents = Array.Empty<SubtitleTrackEvent>(); } } } |
