libva icon indicating copy to clipboard operation
libva copied to clipboard

va: fix the fd leak issue caused by vaInitialize failure

Open XinfengZhang opened this issue 2 years ago • 1 comments

Fixes #741

XinfengZhang avatar Sep 18 '23 03:09 XinfengZhang

Instead, the display specifics should be moved from vaInitialize to vaGetDisplay* time, although that's not particularly clear and easy with the current vaGetDisplay API. Ideally VAAPI will evolve an https://registry.khronos.org/EGL/sdk/docs/man/html/eglGetPlatformDisplay.xhtml like API - adding the other "Platform" APIs from EGL_EXT_platform_base (or similar extensions) would be a wise move IMHO.

evelikov avatar Sep 18 '23 15:09 evelikov