Changed RawVideoPipeDataWriter StreamFormat, Width, Height to be readonly

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

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;