From 293ac4306af5ad705757937d001f258040144c50 Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Thu, 27 Feb 2020 18:32:45 +0100 Subject: [PATCH] Move to separate file --- .../Atoms/ConstantRateFactorArgument.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/FFMpegCore/FFMPEG/Argument/Atoms/ConstantRateFactorArgument.cs b/FFMpegCore/FFMPEG/Argument/Atoms/ConstantRateFactorArgument.cs index a753e78..d948030 100644 --- a/FFMpegCore/FFMPEG/Argument/Atoms/ConstantRateFactorArgument.cs +++ b/FFMpegCore/FFMPEG/Argument/Atoms/ConstantRateFactorArgument.cs @@ -15,24 +15,6 @@ public ConstantRateFactorArgument(int crf) : base(crf) } } - public override string GetStringValue() - { - return $"-crf {Value} "; - } - } - /// - /// Constant Rate Factor (CRF) argument - /// - public class Variable : Argument - { - public ConstantRateFactorArgument(int crf) : base(crf) - { - if (crf < 0 || crf > 63) - { - throw new ArgumentException("Argument is outside range (0 - 63)", nameof(crf)); - } - } - public override string GetStringValue() { return $"-crf {Value} ";