<div dir="ltr">Hi there,<div><br></div><div>I have a question about the GL plugins. I'm implementing an OpenGL application that uses gstreamer to play videos, and my goal is to have gstreamer uploading the frames to GL textures, and the app rendering these textres on its own GL surface. From what I read online, I should use a glupload element to copy the frames into GL textures, and then all I would need to do is to retrieve the glids using appsink. I'm able to pull the ids with the following pipeline:</div><div><br></div><div>uridecodebin uri=%s ! videoconvert ! " + caps + " ! videoscale ! glupload name=glup ! appsink name=sink<br></div><div><br></div><div>However, in order to render the textures, gstreamer should use the same GL context from my application. </div><div><br></div><div>Fromt looking at the cluttershare example (<a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/clutter/cluttershare.c">http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/gl/clutter/cluttershare.c</a>) and other pieces of code I found on the web, seems that I should pass the handle of the GL context to gstreamer with the following code:</div><div><br></div><div><div>  GstElement *glupload = gst_bin_get_by_name (GST_BIN (v->play), "glup");</div><div>  g_object_set (G_OBJECT (glupload), "external-opengl-context", context, NULL);<br></div><div>  gst_object_unref (glupload);</div></div><div><br></div><div>However I get the following error:</div><div><br></div><div>(<unknown>:33272): GLib-GObject-WARNING **: g_object_set_valist: object class 'GstGLUploadElement' has no property named 'external-opengl-context'<br></div><div><br></div><div>GstGLFilter seems to have an "other-context" property, but I don't need to apply any filter on the frames, just to pull them out of the pipeline. Any ideas on how to do this?</div><div><br></div><div>Thanks!</div><div>Andres</div><div><br></div></div>