using System; namespace FFMpegCore.FFMPEG.Argument { /// /// Represents seek parameter /// public class SeekArgument : IArgument { public readonly TimeSpan? SeekTo; public SeekArgument(TimeSpan? seekTo) { SeekTo = seekTo; } public string Text => !SeekTo.HasValue ? string.Empty : $"-ss {SeekTo.Value}"; } }