mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
libobs: Round up chroma sizes for odd resolutions
When playing video, OBS can overflow and crash, or render video edges incorrectly if the video resolution does not divide into 2 for trivial chroma subsampling. This is fixed by rounding chroma plane sizes up instead of down, and maintaining that through the video pipeline.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f