mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 21:14:58 -04:00
obs-qsv11: Add adapter checks for Linux
This moves the existing adapter checking into the platform layer and moves the Windows implementation to its platform implementation and adds a Linux implementation based on directly querying VA-API. Unlike Windows, this check takes ~1ms so we have no need to spin out another thread to perform the work. This also fixes up some of the CPP/C mixing going on in common_utils."h" to allow us to call common functions from C files.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f