18 行
365 B
C#
18 行
365 B
C#
namespace ProxyForge.Encoding;
|
|
|
|
public enum ProxyEncodeFailure
|
|
{
|
|
FFmpegUnavailable,
|
|
SourceUnavailable,
|
|
NoFrames,
|
|
UnusableSize,
|
|
Transparent,
|
|
FFmpegFailed,
|
|
NoOutput,
|
|
}
|
|
|
|
internal sealed class ProxyEncodeException(ProxyEncodeFailure failure, string message) : Exception(message)
|
|
{
|
|
public ProxyEncodeFailure Failure { get; } = failure;
|
|
}
|