Open raburton opened 4 years ago
Trying to scale with a region of interest set throws an exception. For some reason the code in FFmpegDecodedVideoScaler.cs multiplies the left/right/height/width by the height/width of the frame. https://github.com/BogdanovKirill/RtspClientSharp/blob/master/Examples/SimpleRtspPlayer/RawFramesDecoding/FFmpeg/FFmpegDecodedVideoScaler.cs#L48
Trying to scale with a region of interest set throws an exception. For some reason the code in FFmpegDecodedVideoScaler.cs multiplies the left/right/height/width by the height/width of the frame. https://github.com/BogdanovKirill/RtspClientSharp/blob/master/Examples/SimpleRtspPlayer/RawFramesDecoding/FFmpeg/FFmpegDecodedVideoScaler.cs#L48