Files
ersatztv/ErsatzTV.FFmpeg/Option/ThreadCountOption.cs
T
Jason DoveandGitHub 66ab0b3990 use single thread and disable framerate normalization (#639)
* try one thread for everything

* add (unused) framerate filter

* disable framerate normalization by default

* update dependencies
2022-02-16 06:01:28 -06:00

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