FFMpegCore/FFMpegCore/FFMpeg/Arguments/ShortestArgument.cs

18 lines
381 B
C#
Raw Normal View History

namespace FFMpegCore.Arguments
{
/// <summary>
/// Represents shortest parameter
/// </summary>
public class ShortestArgument : IArgument
{
public readonly bool Shortest;
public ShortestArgument(bool shortest)
{
Shortest = shortest;
}
public string Text => Shortest ? "-shortest" : string.Empty;
}
}