diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2023-02-02 13:05:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-02 13:05:02 +0100 |
| commit | 9e155eacea11f959a2531a04fc9089be92e65def (patch) | |
| tree | 302ee5bf7d4f5d6818f07b7a6cfdfde5f7890bb6 /MediaBrowser.MediaEncoding/Probing/CodecType.cs | |
| parent | fe48c47e292a531c82120d083984620ce011a480 (diff) | |
| parent | 65d605b17dfc978ebc089b7500a5aacd8fcd863f (diff) | |
Merge pull request #9227 from Bond-009/ffprobe
Improve ffprobe json parsing and don't log error for Codec Type attachment
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/CodecType.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/CodecType.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/CodecType.cs b/MediaBrowser.MediaEncoding/Probing/CodecType.cs new file mode 100644 index 000000000..d7c68e5f3 --- /dev/null +++ b/MediaBrowser.MediaEncoding/Probing/CodecType.cs @@ -0,0 +1,32 @@ +namespace MediaBrowser.MediaEncoding.Probing; + +/// <summary> +/// FFmpeg Codec Type. +/// </summary> +public enum CodecType +{ + /// <summary> + /// Video. + /// </summary> + Video, + + /// <summary> + /// Audio. + /// </summary> + Audio, + + /// <summary> + /// Opaque data information usually continuous. + /// </summary> + Data, + + /// <summary> + /// Subtitles. + /// </summary> + Subtitle, + + /// <summary> + /// Opaque data information usually sparse. + /// </summary> + Attachment +} |
