namespace ErsatzTV.FFmpeg.Decoder; public abstract class DecoderBase : IDecoder { public abstract FrameDataLocation OutputFrameDataLocation { get; } public IList GlobalOptions => Array.Empty(); public virtual IList InputOptions => new List { "-c:v", Name }; public IList FilterOptions => Array.Empty(); public IList OutputOptions => Array.Empty(); public virtual FrameState NextState(FrameState currentState) => currentState with { FrameDataLocation = OutputFrameDataLocation }; public abstract string Name { get; } }