* fix formatting rules * reformat ersatztv * reformat ersatztv.application * reformat ersatztv.core * refactor ersatztv.core.tests * reformat ersatztv.ffmpeg * reformat ersatztv.ffmpeg.tests * reformat ersatztv.infrastructure * cleanup infra mysql * cleanup infra sqlite * cleanup infra tests * cleanup ersatztv.scanner * cleanup ersatztv.scanner.tests * sln cleanup * update dependencies
12 lines
488 B
C#
12 lines
488 B
C#
namespace ErsatzTV.FFmpeg.Environment;
|
|
|
|
public class CudaVisibleDevicesVariable(string visibleDevices) : IPipelineStep
|
|
{
|
|
public EnvironmentVariable[] EnvironmentVariables => [new("CUDA_VISIBLE_DEVICES", visibleDevices)];
|
|
public string[] GlobalOptions => [];
|
|
public string[] InputOptions(InputFile inputFile) => [];
|
|
public string[] FilterOptions => [];
|
|
public string[] OutputOptions => [];
|
|
public FrameState NextState(FrameState currentState) => currentState;
|
|
}
|