aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2025-09-24 19:32:24 +0200
committerGitHub <noreply@github.com>2025-09-24 19:32:24 +0200
commit7dab62616fdf534f1a04a471f13d5ba67978b387 (patch)
tree020991566dfa12ac5e68324539280ab518c10637
parentf1bd9a40d539d75ce37d1bf0dac0eb950a6522fa (diff)
parent58f9bdcf5c4b17c06fd8857c6067c696f7c5d852 (diff)
Merge pull request #14827 from tjwalkr3/warnings-3
Fix CA1051 warning, Change public field to auto-property
-rw-r--r--CONTRIBUTORS.md2
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs7
2 files changed, 6 insertions, 3 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 66ef2a07e..0a4114478 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -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)
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
index ef912f42c..43680f5c0 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
@@ -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