Greetings,
I'm in the midst of rendering directly to an OpenGL texture buffer using libvlc_video_set_output_callbacks (VLC 4.0 beta) implementation. The way my API is setup, I use QT for GUI while VLC is implemented in an external dynamic library (dll). Since the main OpenGL context is create by QT and that VLC is unawarded of QT, I'm unable to switch context (within VLC callbacks) as QT and VLC contexts are on different threads. I'm clearly facing a design problem but I'm not sure how to solve this. I'm open to suggestion or maybe some example to chew on would be nice.
Thank you,