GLQuery.localGlContext
bool localGlContext(gst.element.Element element, gst.types.PadDirection direction, gstgl.glcontext.GLContext contextPtr)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 | a #GstElement to query from |
direction | the #GstPadDirection to query |
contextPtr | location containing the current and/or resulting #GstGLContext |
Returns
whether context_ptr contains a #GstGLContext