Merge pull request #12384 from evanjarrett/qsv-renderdevice

Update QSV device args  to use the renderNodePath
This commit is contained in:
Bond-009
2024-09-04 16:06:07 +02:00
committed by GitHub
2 changed files with 15 additions and 3 deletions

View File

@@ -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 = string.Empty;
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>