mirror of https://github.com/jellyfin/jellyfin
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
|
|
@ -23,9 +23,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
{
|
{
|
||||||
private static readonly char[] _separators = ['|', ','];
|
private static readonly char[] _separators = ['|', ','];
|
||||||
|
|
||||||
public int? OutputAudioBitrate;
|
|
||||||
public int? OutputAudioChannels;
|
|
||||||
|
|
||||||
private TranscodeReason? _transcodeReasons = null;
|
private TranscodeReason? _transcodeReasons = null;
|
||||||
|
|
||||||
public EncodingJobInfo(TranscodingJobType jobType)
|
public EncodingJobInfo(TranscodingJobType jobType)
|
||||||
|
|
@ -37,6 +34,10 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
SupportedSubtitleCodecs = Array.Empty<string>();
|
SupportedSubtitleCodecs = Array.Empty<string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int? OutputAudioBitrate { get; set; }
|
||||||
|
|
||||||
|
public int? OutputAudioChannels { get; set; }
|
||||||
|
|
||||||
public TranscodeReason TranscodeReasons
|
public TranscodeReason TranscodeReasons
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue