mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 05:10:30 +00:00
Use nullable enum type instead of strings
This commit is contained in:
parent
df17c67f11
commit
d0c5e25ec0
3 changed files with 56 additions and 6 deletions
48
MediaBrowser.Model/Session/HardwareEncodingType.cs
Normal file
48
MediaBrowser.Model/Session/HardwareEncodingType.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum HardwareEncodingType.
|
||||
/// </summary>
|
||||
public enum HardwareEncodingType
|
||||
{
|
||||
/// <summary>
|
||||
/// AMD AMF
|
||||
/// </summary>
|
||||
AMF,
|
||||
|
||||
/// <summary>
|
||||
/// Intel Quick Sync Video
|
||||
/// </summary>
|
||||
QSV,
|
||||
|
||||
/// <summary>
|
||||
/// NVIDIA NVENC
|
||||
/// </summary>
|
||||
NVENC,
|
||||
|
||||
/// <summary>
|
||||
/// OpenMax OMX
|
||||
/// </summary>
|
||||
OMX,
|
||||
|
||||
/// <summary>
|
||||
/// Exynos V4L2 MFC
|
||||
/// </summary>
|
||||
V4L2M2M,
|
||||
|
||||
/// <summary>
|
||||
/// MediaCodec Android
|
||||
/// </summary>
|
||||
MediaCodec,
|
||||
|
||||
/// <summary>
|
||||
/// Video Acceleration API (VAAPI)
|
||||
/// </summary>
|
||||
VAAPI,
|
||||
|
||||
/// <summary>
|
||||
/// Video ToolBox
|
||||
/// </summary>
|
||||
VideoToolBox
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue