Check for vaMapBuffers2 which is required by FFmpeg with libva 2.21+

This commit is contained in:
Cameron Gutman
2026-09-03 00:07:42 -05:00
parent 513ceca9ff
commit b1824e9dbb
+1
View File
@@ -26,6 +26,7 @@
* volatile keeps the table (and its relocations) alive through -O2. */ * volatile keeps the table (and its relocations) alive through -O2. */
static void *volatile requirements[] = { static void *volatile requirements[] = {
(void *)vaCreateSurfaces, /* libva.so.2, VA_API_0.33.0 */ (void *)vaCreateSurfaces, /* libva.so.2, VA_API_0.33.0 */
(void *)vaMapBuffers2, /* libva.so.2, 2.21+ */
(void *)vaGetDisplay, /* libva-x11.so.2 */ (void *)vaGetDisplay, /* libva-x11.so.2 */
}; };