Available environment vars

Arnaud Loonstra arnaud at sphaero.org
Sun Nov 23 03:44:42 PST 2014


On 11/23/2014 12:32 PM, Arnaud Loonstra wrote:
> Hi all,
>
> Might be a noob question but how do I find the available environment
> variables to control the behaviour of gstreamer.
>
> For example I'm trying out an openGL ES setup but on my desktop it by
> default opens a regular GL context. There's probably some variable
> somewhere to set the GL api?
>
> like: GST_GL_API=gles2 gst-launch-1.0 videotestsrc ! glimagesink
>

A grep revealed some info in gstgldisplay.c
So I got it to work using

GST_GL_PLATFORM=x11 GST_GL_API=gles2 GST_GL_WINDOW=x11 gst-launch-1.0 ..

Bit how in general would one find these vars?

-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the gstreamer-devel mailing list