mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-06 09:03:03 +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 = ['|', ','];
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user