mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Added StreamFormat property to StreamPipeDataWriter
Former-commit-id: 6845fe3bc7
This commit is contained in:
parent
6bb03f6e14
commit
b0aedbad87
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 System.IO.Stream Source { get; private set; }
|
||||||
public int BlockSize { get; set; } = 4096;
|
public int BlockSize { get; set; } = 4096;
|
||||||
|
public string StreamFormat { get; set; } = string.Empty;
|
||||||
|
|
||||||
public StreamPipeDataWriter(System.IO.Stream stream)
|
public StreamPipeDataWriter(System.IO.Stream stream)
|
||||||
{
|
{
|
||||||
|
@ -40,7 +41,7 @@ public async Task WriteDataAsync(System.IO.Stream pipe)
|
||||||
|
|
||||||
public string GetFormat()
|
public string GetFormat()
|
||||||
{
|
{
|
||||||
return "";
|
return StreamFormat;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue