<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">Hello all,<br>
<br>
I am trying to display some video stream in a window containing an
OpenGL context.<br>
To do that, I allocated and initialized an output context using<br>
<br>
avformat_alloc_output_context2( &av_format_context, nullptr,
"opengl", nullptr );<br>
avformat_write_header( </font><font size="-1"><font size="-1">av_format_context</font>,
nullptr);<br>
<br>
which work insofar, that the video stream is displayed within a
new window.<br>
<br>
However, from what I've gathered, there should be a way to pass my
own OpenGL-context to one of these functions.<br>
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?<br>
<br>
Regards<br>
Kevin<br>
</font>
</body>
</html>