<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey y'all,<br>
<br>
I know this is kind of a beaten horse, but given the recent release
of the 1.4 version of gStreamer I thought I'd pull out a stick and
give it a few more whacks.<br>
<br>
Today I finally got around to working out how to properly use an
appsink to copy gstreamers video output directly into an OpenGL
texture. This works pretty well for now - but I'm constantly trying
to work out, if there's a way of bypassing having to copy the data
manually and just have gstreamer throw it into an OpenGL texture for
me.<br>
<br>
The glimagesink looked promising, despite it's current 'bad' status
and... 0.10 reference manual? I take it, this is the most up-to-date
doc currently:<br>
<br>
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-gl-plugins/html/">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-gl-plugins/html/</a><br>
(although it probably should eventually be merged into the 'bad'
folder given it's status?)<br>
<br>
Anyway - I had a closer look at the following example:<br>
<br>
<a class="moz-txt-link-freetext" href="http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/generic/cube/main.cpp">http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/generic/cube/main.cpp</a><br>
<br>
It seems as though the client callback receives a texture
reference... Is there anyway of specifying a texture to which one
would like the glimagesink to write, instead of receiving a
reference to one in every callback? If not - is it possible to
somehow intercept the texture ID earlier - and are there any
guarantees that it doesn't change at some point down the line?<br>
<br>
Regards,<br>
Lasse<br>
<br>
<div class="moz-signature">-- <br>
Lasse Farnung Laursen<br>
Post.doc at the University of Tokyo<br>
<a href="http://www.lasselaursen.com">www.lasselaursen.com</a><br>
FB: <a href="https://www.facebook.com/lasse.laursen">lasse.laursen
</a><br>
Twitter: <a href="https://twitter.com/PMP_J">@PMP_J</a></div>
</body>
</html>