Helper function for implementing #GstElementClass.set_context() in OpenGL capable elements.
Retrieve's the #GstGLDisplay or #GstGLContext in context and places the result in display or other_context respectively.
a #GstElement
a #GstContext
location of a #GstGLDisplay
location of a #GstGLContext
whether the display or other_context could be set successfully
Helper function for implementing #GstElementClass.set_context() in OpenGL capable elements.
Retrieve's the #GstGLDisplay or #GstGLContext in context and places the result in display or other_context respectively.