GLDisplay.newWithType

Will always return a #GstGLDisplay of a single type. This differs from gstgl.gldisplay.GLDisplay.new_ and the seemingly equivalent call gst_gl_display_new_with_type (GST_GL_DISPLAY_TYPE_ANY) in that the latter may return NULL.

class GLDisplay
static
newWithType

Parameters

type gstgl.types.GLDisplayType

#GstGLDisplayType

Return Value

Type: gstgl.gldisplay.GLDisplay

a new #GstGLDisplay or null if type is not supported