mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:08:33 +00:00
Add a new EncodingOption for QsvDevice
This commit is contained in:
parent
51433528a1
commit
0d8669fbe8
2 changed files with 7 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ public class EncodingOptions
|
|||
// This is a DRM device that is almost guaranteed to be there on every intel platform,
|
||||
// plus it's the default one in ffmpeg if you don't specify anything
|
||||
VaapiDevice = "/dev/dri/renderD128";
|
||||
QsvDevice = "";
|
||||
EnableTonemapping = false;
|
||||
EnableVppTonemapping = false;
|
||||
EnableVideoToolboxTonemapping = false;
|
||||
|
|
@ -136,6 +137,11 @@ public class EncodingOptions
|
|||
/// </summary>
|
||||
public string VaapiDevice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the QSV device.
|
||||
/// </summary>
|
||||
public string QsvDevice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether tonemapping is enabled.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue