Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit scaled frame to source frame dimensions (#513)
Add logic to prevent scaling up the output frames. Scaling up the video result frames beyond the resolution of the device-provided source frames doesn’t make sense. For example, if the device supports a maximum resolution of 1552x1552, specifying 3840x2160 will result in an output of 1552x873 (while maintaining the aspect ratio).
- Loading branch information