Files
ersatztv/ErsatzTV.FFmpeg/Option/ThreadCountOption.cs
T
Jason DoveandGitHub c02b83d0d6 code cleanup (#743)
* update tools

* run code cleanup

* update dependencies
2022-04-19 17:47:18 -05:00

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() };
}