11 lines
315 B
C#
11 lines
315 B
C#
namespace ErsatzTV.FFmpeg.Option;
|
|
|
|
public class ThreadCountOption : GlobalOption
|
|
{
|
|
private readonly int _threadCount;
|
|
|
|
public ThreadCountOption(int threadCount) => _threadCount = threadCount;
|
|
|
|
public override IList<string> GlobalOptions => new List<string> { "-threads", _threadCount.ToString() };
|
|
}
|