mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-05 08:42:50 +03: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user