[Libav-user] Passing OpenGL context to opengl-libavdevice
kvagedes at maku.eu
Mon Aug 19 12:03:29 EEST 2019
I am trying to display some video stream in a window containing an
To do that, I allocated and initialized an output context using
avformat_alloc_output_context2( &av_format_context, nullptr, "opengl",
avformat_write_header( av_format_context, nullptr);
which work insofar, that the video stream is displayed within a new window.
However, from what I've gathered, there should be a way to pass my own
OpenGL-context to one of these functions.
So, does anyone here know how to do this, and maybe even point me to
relevant parts of the documentation, that I may have missed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user