diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-02-01 14:58:04 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-02-01 14:58:04 +0100 |
| commit | 65d605b17dfc978ebc089b7500a5aacd8fcd863f (patch) | |
| tree | 45b9b6716ba7ff27b302e04925b2952005d510b3 /MediaBrowser.MediaEncoding/Probing/CodecType.cs | |
| parent | 992b460912f3100f126bc4db0fe042fd4aefee7c (diff) | |
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 +} |
