Fix tests

This commit is contained in:
Malte Rosenbjerg 2020-05-06 21:15:06 +02:00
parent e241ce9034
commit 494e38c14a
2 changed files with 4 additions and 6 deletions

View file

@ -16,15 +16,14 @@ public static ArgumentContainer AudioCodec(this ArgumentContainer container, Aud
return container;
}
public static ArgumentContainer AudioCodec(this ArgumentContainer container, AudioCodec codec, AudioQuality bitrate)
public static ArgumentContainer AudioBitrate(this ArgumentContainer container, AudioQuality audioQuality)
{
container.Add(new AudioCodecArgument(codec, bitrate));
container.Add(new AudioBitrateArgument(audioQuality));
return container;
}
public static ArgumentContainer AudioCodec(this ArgumentContainer container, AudioCodec codec, int bitrate)
public static ArgumentContainer AudioBitrate(this ArgumentContainer container, int bitrate)
{
container.Add(new AudioCodecArgument(codec, bitrate));
container.Add(new AudioBitrateArgument(bitrate));
return container;
}

View file

@ -8,7 +8,6 @@ namespace FFMpegCore.FFMPEG.Argument
/// </summary>
public class CopyArgument : Argument<Channel>
{
public CopyArgument() : base(Channel.Both) { }
public CopyArgument(Channel value = Channel.Both) : base(value) { }
/// <inheritdoc/>