mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-15 18:45:44 +00:00
18 lines
389 B
C#
18 lines
389 B
C#
using FFMpegCore.Extend;
|
|
|
|
namespace FFMpegCore.Arguments;
|
|
|
|
/// <summary>
|
|
/// Represents seek parameter
|
|
/// </summary>
|
|
public class EndSeekArgument : IArgument
|
|
{
|
|
public readonly TimeSpan? SeekTo;
|
|
|
|
public EndSeekArgument(TimeSpan? seekTo)
|
|
{
|
|
SeekTo = seekTo;
|
|
}
|
|
|
|
public string Text => SeekTo.HasValue ? $"-to {SeekTo.Value.ToLongString()}" : string.Empty;
|
|
}
|