Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csri: stop advertising support for unimplemented formats
An application is supposed to first configure a supported format via csri_request_fmt(..) for an instance and then pass frames in the previously requested format to csri_render(..). This setup logic was broken, when support for non BGR_ formats was dropped in 50d3b3b and applications can no longer detect whether a format is supported ahead of time and will instead crash when trying to render using any non BGR_ frame. Since I’m not sure what issue was fixed with those formats being dropped, whether they ever worked correctly or if anyone is even using them, just properly signal them being unsupported. (Aegisub exclusively uses BGR_ since 2010, predating the removal in xy-VSFilter. See Aegisub SVN r5079 or 824294078f23cb77e4a46d9b927421f7888002e2)
- Loading branch information