mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 00:12:24 +00:00
Improve ffprobe json parsing and don't log error for Codec Type attachment
This commit is contained in:
32
MediaBrowser.MediaEncoding/Probing/CodecType.cs
Normal file
32
MediaBrowser.MediaEncoding/Probing/CodecType.cs
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user