mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-06 12:16:03 +01:00
Fix CA1051 warnings in EncodingJobInfo.cs
Convert public fields to auto-properties and fix member ordering Co-authored-by: Derpipose <90276123+Derpipose@users.noreply.github.com>
This commit is contained in:
parent
4246825239
commit
2a499aaa95
1 changed files with 4 additions and 3 deletions
|
|
@ -23,9 +23,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
{
|
||||
private static readonly char[] _separators = ['|', ','];
|
||||
|
||||
public int? OutputAudioBitrate;
|
||||
public int? OutputAudioChannels;
|
||||
|
||||
private TranscodeReason? _transcodeReasons = null;
|
||||
|
||||
public EncodingJobInfo(TranscodingJobType jobType)
|
||||
|
|
@ -37,6 +34,10 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
SupportedSubtitleCodecs = Array.Empty<string>();
|
||||
}
|
||||
|
||||
public int? OutputAudioBitrate { get; set; }
|
||||
|
||||
public int? OutputAudioChannels { get; set; }
|
||||
|
||||
public TranscodeReason TranscodeReasons
|
||||
{
|
||||
get
|
||||
|
|
|
|||
Loading…
Reference in a new issue