rename RawArgument to CustomArgument

This commit is contained in:
weihanli 2020-05-02 11:05:44 +08:00
parent 5643544a3b
commit eb521ae908
2 changed files with 4 additions and 4 deletions

View file

@ -234,10 +234,10 @@ public void Builder_BuildString_Duration()
[TestMethod]
public void Builder_BuildString_Raw()
{
var str = GetArgumentsString(new RawArgument(null));
var str = GetArgumentsString(new CustomArgument(null));
Assert.AreEqual(str, "-i \"input.mp4\" \"output.mp4\"");
str = GetArgumentsString(new RawArgument("-acodec copy"));
str = GetArgumentsString(new CustomArgument("-acodec copy"));
Assert.AreEqual(str, "-i \"input.mp4\" -acodec copy \"output.mp4\"");
}
}

View file

@ -1,8 +1,8 @@
namespace FFMpegCore.FFMPEG.Argument
{
public class RawArgument : Argument<string>
public class CustomArgument : Argument<string>
{
public RawArgument(string argument) : base(argument)
public CustomArgument(string argument) : base(argument)
{
}