mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
07222c26e4
commit
0da37cca9f
2 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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/>
|
||||
|
|
Loading…
Reference in a new issue