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
732 B
19 lines
732 B
namespace ErsatzTV.FFmpeg.Environment; |
|
|
|
public class LibvaDriverNameVariable : IPipelineStep |
|
{ |
|
private readonly string _driverName; |
|
|
|
public LibvaDriverNameVariable(string driverName) => _driverName = driverName; |
|
|
|
public IList<EnvironmentVariable> EnvironmentVariables => new List<EnvironmentVariable> |
|
{ |
|
new("LIBVA_DRIVER_NAME", _driverName) |
|
}; |
|
|
|
public IList<string> GlobalOptions => Array.Empty<string>(); |
|
public IList<string> InputOptions(InputFile inputFile) => Array.Empty<string>(); |
|
public IList<string> FilterOptions => Array.Empty<string>(); |
|
public IList<string> OutputOptions => Array.Empty<string>(); |
|
public FrameState NextState(FrameState currentState) => currentState; |
|
}
|
|
|