mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
23 lines
540 B
C#
23 lines
540 B
C#
using FFMpegCore.Enums;
|
|
|
|
namespace FFMpegCore.Arguments;
|
|
|
|
public class SetMirroringArgument : IVideoFilterArgument
|
|
{
|
|
public SetMirroringArgument(Mirroring mirroring)
|
|
{
|
|
Mirroring = mirroring;
|
|
}
|
|
|
|
public Mirroring Mirroring { get; set; }
|
|
|
|
public string Key => string.Empty;
|
|
|
|
public string Value =>
|
|
Mirroring switch
|
|
{
|
|
Mirroring.Horizontal => "hflip",
|
|
Mirroring.Vertical => "vflip",
|
|
_ => throw new ArgumentOutOfRangeException(nameof(Mirroring))
|
|
};
|
|
}
|