Memory leak with OpenGL callback API with vlc-4.x on win64
Using the libvlc 4.0 callback API on Windows 64-bit (amd64) leaks memory with every frame. This occurs on Windows 10 and Windows 11 with amd64, but does not occur with the same code-base for 32-bit (x86).
Steps to reproduce:
- Compile the QtGL sample app with a libvlc 4.0 release for amd64 (see note below)
- Run the QtGL sample app with any video, observe memory usage for the application.
Note: for error-free compilation/execution of the QtGL app, you need to the line render_cfg->orientation = libvlc_video_orient_top_left; to resizeRenderTextures in qtvlcwidget.cpp (PR being created separately to submit an improvement)