mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
26 lines
543 B
C#
26 lines
543 B
C#
namespace FFMpegCore.Arguments;
|
|
|
|
/// <summary>
|
|
/// Represents outputting to url using supported protocols
|
|
/// See http://ffmpeg.org/ffmpeg-protocols.html
|
|
/// </summary>
|
|
public class OutputUrlArgument : IOutputArgument
|
|
{
|
|
public readonly string Url;
|
|
|
|
public OutputUrlArgument(string url)
|
|
{
|
|
Url = url;
|
|
}
|
|
|
|
public void Post() { }
|
|
|
|
public Task During(CancellationToken cancellationToken = default)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public void Pre() { }
|
|
|
|
public string Text => Url;
|
|
}
|