FFMpegCore/FFMpegCore/FFMpeg/Arguments/TransposeArgument.cs
Malte Rosenbjerg 77e2403902 Init
Former-commit-id: 4f28983972
2021-03-05 18:06:40 +01:00

23 lines
No EOL
646 B
C#

using FFMpegCore.Enums;
namespace FFMpegCore.Arguments
{
/// <summary>
/// Transpose argument.
/// 0 = 90CounterCLockwise and Vertical Flip (default)
/// 1 = 90Clockwise
/// 2 = 90CounterClockwise
/// 3 = 90Clockwise and Vertical Flip
/// </summary>
public class TransposeArgument : IVideoFilterArgument
{
public readonly Transposition Transposition;
public TransposeArgument(Transposition transposition)
{
Transposition = transposition;
}
public string Key { get; } = "transpose";
public string Value => ((int)Transposition).ToString();
}
}