14 lines
435 B
C#
14 lines
435 B
C#
namespace ErsatzTV.FFmpeg.Capabilities.Vaapi;
|
|
|
|
public record VaapiProfileEntrypoint(string VaapiProfile, string VaapiEntrypoint)
|
|
{
|
|
private readonly System.Collections.Generic.HashSet<RateControlMode> _rateControlModes = new();
|
|
|
|
public IReadOnlyCollection<RateControlMode> RateControlModes => _rateControlModes;
|
|
|
|
public bool AddRateControlMode(RateControlMode mode)
|
|
{
|
|
return _rateControlModes.Add(mode);
|
|
}
|
|
}
|