Changed RawVideoPipeDataWriter StreamFormat, Width, Height to be readonly

This commit is contained in:
Максим Багрянцев 2020-05-02 13:33:44 +03:00
parent f132a3b731
commit df63417e11

View file

@ -11,9 +11,9 @@ namespace FFMpegCore.FFMPEG.Pipes
/// </summary>
public class RawVideoPipeDataWriter : IPipeDataWriter
{
public string StreamFormat { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public string StreamFormat { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public int FrameRate { get; set; } = 25;
private IEnumerator<IVideoFrame> framesEnumerator;