mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
703 B
19 lines
703 B
namespace ErsatzTV.FFmpeg.Environment; |
|
|
|
public class LibvaDriverNameVariable : IPipelineStep |
|
{ |
|
private readonly string _driverName; |
|
|
|
public LibvaDriverNameVariable(string driverName) => _driverName = driverName; |
|
|
|
public EnvironmentVariable[] EnvironmentVariables => new[] |
|
{ |
|
new EnvironmentVariable("LIBVA_DRIVER_NAME", _driverName) |
|
}; |
|
|
|
public string[] GlobalOptions => Array.Empty<string>(); |
|
public string[] InputOptions(InputFile inputFile) => Array.Empty<string>(); |
|
public string[] FilterOptions => Array.Empty<string>(); |
|
public string[] OutputOptions => Array.Empty<string>(); |
|
public FrameState NextState(FrameState currentState) => currentState; |
|
}
|
|
|