Gstreamer GL context share and sdlshare example

Arnaud Loonstra arnaud at sphaero.org
Fri Feb 13 09:30:32 PST 2015


On 2015-02-13 17:57, Arnaud Loonstra wrote:
> I'm getting closer with some simple GL context sharing examples using
> python. However how can I talk to the GL plugins from Python?
>
> I need to run this command from with Python but can't seem to find 
> it.
>
> gst_gl_context_new_wrapped (display, (guintptr) sdl_gl_context,
>       gst_gl_platform_from_string (platform), GST_GL_API_OPENGL);
>
> Is there any specific import to access those methods?
>

It seems it should be importable like so:

from gi.repository import GstGL

ref: 
https://github.com/lubosz/gst-gl-tests/blob/master/gst_opengl_editor/sinks.py#L4

Apparently I'm missing something here. Is this more recent than 1.4.3?


More information about the gstreamer-devel mailing list