From eb521ae908874e3216ea5555cb042b57b612e0f5 Mon Sep 17 00:00:00 2001 From: weihanli Date: Sat, 2 May 2020 11:05:44 +0800 Subject: [PATCH] rename RawArgument to CustomArgument --- FFMpegCore.Test/ArgumentBuilderTest.cs | 4 ++-- .../Argument/Atoms/{RawArgument.cs => CustomArgument.cs} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename FFMpegCore/FFMPEG/Argument/Atoms/{RawArgument.cs => CustomArgument.cs} (61%) diff --git a/FFMpegCore.Test/ArgumentBuilderTest.cs b/FFMpegCore.Test/ArgumentBuilderTest.cs index 38066c5..23a66f2 100644 --- a/FFMpegCore.Test/ArgumentBuilderTest.cs +++ b/FFMpegCore.Test/ArgumentBuilderTest.cs @@ -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\""); } } diff --git a/FFMpegCore/FFMPEG/Argument/Atoms/RawArgument.cs b/FFMpegCore/FFMPEG/Argument/Atoms/CustomArgument.cs similarity index 61% rename from FFMpegCore/FFMPEG/Argument/Atoms/RawArgument.cs rename to FFMpegCore/FFMPEG/Argument/Atoms/CustomArgument.cs index 74a9df6..6a38b4e 100644 --- a/FFMpegCore/FFMPEG/Argument/Atoms/RawArgument.cs +++ b/FFMpegCore/FFMPEG/Argument/Atoms/CustomArgument.cs @@ -1,8 +1,8 @@ namespace FFMpegCore.FFMPEG.Argument { - public class RawArgument : Argument + public class CustomArgument : Argument { - public RawArgument(string argument) : base(argument) + public CustomArgument(string argument) : base(argument) { }