diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2021-02-22 21:00:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-22 21:00:46 -0500 |
| commit | 7ece3c552337340a997a75aab1520a501a673f61 (patch) | |
| tree | 4bb865830c06de487d65706959b5df2b47fc14e1 /MediaBrowser.Model/Session/TranscodingInfo.cs | |
| parent | c0c4aff8a642013ec406c065c8374aaad8b4ef65 (diff) | |
| parent | 003945f25b8d19de4638789bf0cdf580c546c9dd (diff) | |
Merge pull request #5273 from Bond-009/warn31
Diffstat (limited to 'MediaBrowser.Model/Session/TranscodingInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/TranscodingInfo.cs | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/MediaBrowser.Model/Session/TranscodingInfo.cs b/MediaBrowser.Model/Session/TranscodingInfo.cs index e832c2f6f..064a087d5 100644 --- a/MediaBrowser.Model/Session/TranscodingInfo.cs +++ b/MediaBrowser.Model/Session/TranscodingInfo.cs @@ -7,6 +7,11 @@ namespace MediaBrowser.Model.Session { public class TranscodingInfo { + public TranscodingInfo() + { + TranscodeReasons = Array.Empty<TranscodeReason>(); + } + public string AudioCodec { get; set; } public string VideoCodec { get; set; } @@ -30,37 +35,5 @@ namespace MediaBrowser.Model.Session public int? AudioChannels { get; set; } public TranscodeReason[] TranscodeReasons { get; set; } - - public TranscodingInfo() - { - TranscodeReasons = Array.Empty<TranscodeReason>(); - } - } - - public enum TranscodeReason - { - ContainerNotSupported = 0, - VideoCodecNotSupported = 1, - AudioCodecNotSupported = 2, - ContainerBitrateExceedsLimit = 3, - AudioBitrateNotSupported = 4, - AudioChannelsNotSupported = 5, - VideoResolutionNotSupported = 6, - UnknownVideoStreamInfo = 7, - UnknownAudioStreamInfo = 8, - AudioProfileNotSupported = 9, - AudioSampleRateNotSupported = 10, - AnamorphicVideoNotSupported = 11, - InterlacedVideoNotSupported = 12, - SecondaryAudioNotSupported = 13, - RefFramesNotSupported = 14, - VideoBitDepthNotSupported = 15, - VideoBitrateNotSupported = 16, - VideoFramerateNotSupported = 17, - VideoLevelNotSupported = 18, - VideoProfileNotSupported = 19, - AudioBitDepthNotSupported = 20, - SubtitleCodecNotSupported = 21, - DirectPlayError = 22 } } |
