Merge pull request #14827 from tjwalkr3/warnings-3

Fix CA1051 warning, Change public field to auto-property
This commit is contained in:
Bond-009 2025-09-24 19:32:24 +02:00 committed by GitHub
commit 7dab62616f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -31,6 +31,7 @@
- [DaveChild](https://github.com/DaveChild)
- [DavidFair](https://github.com/DavidFair)
- [Delgan](https://github.com/Delgan)
- [Derpipose](https://github.com/Derpipose)
- [dcrdev](https://github.com/dcrdev)
- [dhartung](https://github.com/dhartung)
- [dinki](https://github.com/dinki)
@ -140,6 +141,7 @@
- [ThibaultNocchi](https://github.com/ThibaultNocchi)
- [thornbill](https://github.com/thornbill)
- [ThreeFive-O](https://github.com/ThreeFive-O)
- [tjwalkr3](https://github.com/tjwalkr3)
- [TrisMcC](https://github.com/TrisMcC)
- [trumblejoe](https://github.com/trumblejoe)
- [TtheCreator](https://github.com/TtheCreator)

View File

@ -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