Files
ersatztv/ErsatzTV.FFmpeg/OutputOption/NoSceneDetectOutputOption.cs
T
Jason DoveandGitHub 245c4ec359 code analysis and cleanup (#1411)
* cleanup scanner project

* cleanup infrastructure projects

* cleanup ffmpeg project

* cleanup core project

* cleanup app project

* cleanup main project

* update dependencies

* code cleanup
2023-09-03 06:23:42 -05:00

14 lines
377 B
C#

using System.Globalization;
namespace ErsatzTV.FFmpeg.OutputOption;
public class NoSceneDetectOutputOption : OutputOption
{
private readonly int _value;
public NoSceneDetectOutputOption(int value) => _value = value;
public override IList<string> OutputOptions => new List<string>
{ "-sc_threshold", _value.ToString(CultureInfo.InvariantCulture) };
}