mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Added StreamFormat property to StreamPipeDataWriter
This commit is contained in:
parent
b7099f6709
commit
6845fe3bc7
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ public class StreamPipeDataWriter : IPipeDataWriter
|
|||
{
|
||||
public System.IO.Stream Source { get; private set; }
|
||||
public int BlockSize { get; set; } = 4096;
|
||||
public string StreamFormat { get; set; } = string.Empty;
|
||||
|
||||
public StreamPipeDataWriter(System.IO.Stream stream)
|
||||
{
|
||||
|
@ -40,7 +41,7 @@ public async Task WriteDataAsync(System.IO.Stream pipe)
|
|||
|
||||
public string GetFormat()
|
||||
{
|
||||
return "";
|
||||
return StreamFormat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue