From 6845fe3bc76d272ed0cc31a074344304269ca04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=91=D0=B0=D0=B3?= =?UTF-8?q?=D1=80=D1=8F=D0=BD=D1=86=D0=B5=D0=B2?= Date: Tue, 28 Apr 2020 18:43:54 +0300 Subject: [PATCH] Added StreamFormat property to StreamPipeDataWriter --- FFMpegCore/FFMPEG/Pipes/StreamPipeDataWriter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FFMpegCore/FFMPEG/Pipes/StreamPipeDataWriter.cs b/FFMpegCore/FFMPEG/Pipes/StreamPipeDataWriter.cs index 441a28f..8db19eb 100644 --- a/FFMpegCore/FFMPEG/Pipes/StreamPipeDataWriter.cs +++ b/FFMpegCore/FFMPEG/Pipes/StreamPipeDataWriter.cs @@ -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; } } }