mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
4f3d2c1fda
commit
c3a2104d84
1 changed files with 0 additions and 24 deletions
|
@ -1,8 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FFMpegCore.Arguments
|
||||
{
|
||||
|
@ -38,26 +36,4 @@ public void Pre()
|
|||
|
||||
public string Text => string.Join(" ", FilePaths.Select(v => $"-i \"{v}\""));
|
||||
}
|
||||
|
||||
public interface IArgument
|
||||
{
|
||||
/// <summary>
|
||||
/// The textual representation of the argument
|
||||
/// </summary>
|
||||
string Text { get; }
|
||||
}
|
||||
|
||||
public interface IInputOutputArgument : IArgument
|
||||
{
|
||||
void Pre() {}
|
||||
Task During(CancellationToken? cancellationToken = null) => Task.CompletedTask;
|
||||
void Post() {}
|
||||
}
|
||||
|
||||
public interface IInputArgument : IInputOutputArgument
|
||||
{
|
||||
}
|
||||
public interface IOutputArgument : IInputOutputArgument
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue