diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-06-24 14:37:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-24 14:37:49 -0400 |
| commit | 287178cbf5321ad3e4b21f2e2e374a272a136b75 (patch) | |
| tree | e97323a2c9c31d0f045cf15ceddbc5f635cef0a7 /MediaBrowser.Model/Session/TranscodingInfo.cs | |
| parent | c9be2c21f42a3590e0c5860728b9b283d7648d5e (diff) | |
| parent | 31a3e0f5c49804e9acceb7718542d1c04445425b (diff) | |
Merge pull request #2726 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Model/Session/TranscodingInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/TranscodingInfo.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/TranscodingInfo.cs b/MediaBrowser.Model/Session/TranscodingInfo.cs index e646d80d3..67eac6fd5 100644 --- a/MediaBrowser.Model/Session/TranscodingInfo.cs +++ b/MediaBrowser.Model/Session/TranscodingInfo.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; + namespace MediaBrowser.Model.Session { public class TranscodingInfo @@ -15,5 +17,36 @@ namespace MediaBrowser.Model.Session public int? Width { get; set; } public int? Height { get; set; } public int? AudioChannels { get; set; } + + public List<TranscodeReason> TranscodeReasons { get; set; } + + public TranscodingInfo() + { + TranscodeReasons = new List<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 } }
\ No newline at end of file |
