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

* run code cleanup

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

19 lines
478 B
C#

namespace ErsatzTV.FFmpeg.Decoder.Cuvid;
public class DecoderVc1Cuvid : DecoderBase
{
public override string Name => "vc1_cuvid";
protected override FrameDataLocation OutputFrameDataLocation => FrameDataLocation.Hardware;
public override IList<string> InputOptions(InputFile inputFile)
{
IList<string> result = base.InputOptions(inputFile);
result.Add("-hwaccel_output_format");
result.Add("cuda");
return result;
}
}