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.
21 lines
670 B
21 lines
670 B
using ErsatzTV.FFmpeg.Format; |
|
|
|
namespace ErsatzTV.FFmpeg.Capabilities; |
|
|
|
public class NoHardwareCapabilities : IHardwareCapabilities |
|
{ |
|
public FFmpegCapability CanDecode( |
|
string videoFormat, |
|
Option<string> videoProfile, |
|
Option<IPixelFormat> maybePixelFormat) => |
|
FFmpegCapability.Software; |
|
|
|
public FFmpegCapability CanEncode( |
|
string videoFormat, |
|
Option<string> videoProfile, |
|
Option<IPixelFormat> maybePixelFormat) => |
|
FFmpegCapability.Software; |
|
|
|
public Option<RateControlMode> GetRateControlMode(string videoFormat, Option<IPixelFormat> maybePixelFormat) => |
|
Option<RateControlMode>.None; |
|
}
|
|
|