mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
9ffa2cb28a
commit
5a6d61cfe3
2 changed files with 4 additions and 4 deletions
|
@ -234,10 +234,10 @@ public void Builder_BuildString_Duration()
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Builder_BuildString_Raw()
|
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\"");
|
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\"");
|
Assert.AreEqual(str, "-i \"input.mp4\" -acodec copy \"output.mp4\"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
namespace FFMpegCore.FFMPEG.Argument
|
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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue