Refactor VAAPI surface export check into separate function

This commit is contained in:
Cameron Gutman
2022-01-29 17:45:36 -06:00
parent 3fcf31d009
commit 9755e31fa2
2 changed files with 13 additions and 5 deletions
@@ -52,6 +52,7 @@ public:
private:
VADisplay openDisplay(SDL_Window* window);
bool canExportSurfaceHandle(int layerTypeFlag);
int m_WindowSystem;
AVBufferRef* m_HwContext;