Free AVFrame before calling eglTerminate() (#842)

This commit is contained in:
Cameron Gutman 2023-01-27 09:21:05 -06:00 committed by GitHub
parent 8b507d2b30
commit a3e2c4fa31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,12 +386,14 @@ public:
va::display_t::pointer va_display;
file_t file;
frame_t hwframe;
gbm::gbm_t gbm;
egl::display_t display;
egl::ctx_t ctx;
// This must be destroyed before display_t to ensure the GPU
// driver is still loaded when vaDestroySurfaces() is called.
frame_t hwframe;
egl::sws_t sws;
egl::nv12_t nv12;