Fix leaking /dev/dri fds on each vaInitialize() failure
This commit is contained in:
parent
7763ec3c5c
commit
d147d36867
2 changed files with 32 additions and 11 deletions
|
|
@ -61,6 +61,7 @@ public:
|
|||
|
||||
private:
|
||||
VADisplay openDisplay(SDL_Window* window);
|
||||
VAStatus tryVaInitialize(AVVAAPIDeviceContext* vaDeviceContext, PDECODER_PARAMETERS params, int* major, int* minor);
|
||||
void renderOverlay(VADisplay display, VASurfaceID surface, Overlay::OverlayType type);
|
||||
|
||||
#if defined(HAVE_EGL) || defined(HAVE_DRM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue