GLQuery.localGlContext

Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all #GstPads in element of direction for the local OpenGL context used by GStreamer elements.

Parameters

element gst.element.Element

a #GstElement to query from

direction gst.types.PadDirection

the #GstPadDirection to query

contextPtr gstgl.glcontext.GLContext

location containing the current and/or resulting #GstGLContext

Return Value

Type: bool

whether context_ptr contains a #GstGLContext