mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
794 B
24 lines
794 B
using ErsatzTV.FFmpeg.Environment; |
|
|
|
namespace ErsatzTV.FFmpeg.Decoder; |
|
|
|
public class DecoderDtsCoreOnly : IDecoder |
|
{ |
|
public string Name => "dts"; |
|
public EnvironmentVariable[] EnvironmentVariables => []; |
|
public string[] GlobalOptions => []; |
|
public string[] FilterOptions => []; |
|
public string[] OutputOptions => []; |
|
|
|
public string[] InputOptions(InputFile inputFile) => ["-c:a", "dts", "-core_only", "true"]; |
|
|
|
public FrameState NextState(FrameState currentState) => currentState; |
|
|
|
public bool AppliesTo(AudioInputFile audioInputFile) => true; |
|
|
|
public bool AppliesTo(VideoInputFile videoInputFile) => false; |
|
|
|
public bool AppliesTo(ConcatInputFile concatInputFile) => false; |
|
|
|
public bool AppliesTo(GraphicsEngineInput graphicsEngineInput) => false; |
|
}
|
|
|