GstGLBaseSrc
GstGLBaseSrc handles the nitty gritty details of retrieving an OpenGL
context. It also provided some wrappers around GstBaseSrc's start()
and
stop()
virtual methods that ensure an OpenGL context is available and
current in the calling thread.
GstGLBaseSrc
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSrc ╰──GstPushSrc ╰──GstGLBaseSrc
The parent instance type of a base GStreamer GL Video source.
Members
parent
(GstPushSrc)
–
display
(GstGLDisplay *)
–
the currently configured GstGLDisplay
context
(GstGLContext *)
–
the currently configured GstGLContext
out_info
(GstVideoInfo)
–
the currently configured output GstVideoInfo
running_time
(GstClockTime)
–
the total running time
Since : 1.18
Class structure
GstGLBaseSrcClass
The base class for GStreamer GL Video sources.
Fields
parent_class
(GstPushSrcClass)
–
Since : 1.18
GstGL.GLBaseSrcClass
The base class for GStreamer GL Video sources.
Attributes
parent_class
(GstBase.PushSrcClass)
–
supported_gl_api
(GstGL.GLAPI)
–
the logical-OR of GstGL.GLAPI's supported by this element
Since : 1.18
GstGL.GLBaseSrcClass
The base class for GStreamer GL Video sources.
Attributes
parent_class
(GstBase.PushSrcClass)
–
supported_gl_api
(GstGL.GLAPI)
–
the logical-OR of GstGL.GLAPI's supported by this element
Since : 1.18
GstGL.GLBaseSrc
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstBase.BaseSrc ╰──GstBase.PushSrc ╰──GstGL.GLBaseSrc
The parent instance type of a base GStreamer GL Video source.
Members
parent
(GstBase.PushSrc)
–
display
(GstGL.GLDisplay)
–
the currently configured GstGL.GLDisplay
context
(GstGL.GLContext)
–
the currently configured GstGL.GLContext
out_info
(GstVideo.VideoInfo)
–
the currently configured output GstVideo.VideoInfo
running_time
(Number)
–
the total running time
Since : 1.18
GstGL.GLBaseSrc
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstBase.BaseSrc ╰──GstBase.PushSrc ╰──GstGL.GLBaseSrc
The parent instance type of a base GStreamer GL Video source.
Members
parent
(GstBase.PushSrc)
–
display
(GstGL.GLDisplay)
–
the currently configured GstGL.GLDisplay
context
(GstGL.GLContext)
–
the currently configured GstGL.GLContext
out_info
(GstVideo.VideoInfo)
–
the currently configured output GstVideo.VideoInfo
running_time
(int)
–
the total running time
Since : 1.18
Properties
Virtual Methods
fill_gl_memory
gboolean fill_gl_memory (GstGLBaseSrc * src, GstGLMemory * mem)
called in the GL thread to fill the current video texture.
Parameters:
src
–
mem
–
vfunc_fill_gl_memory
function vfunc_fill_gl_memory(src: GstGL.GLBaseSrc, mem: GstGL.GLMemory): {
// javascript implementation of the 'fill_gl_memory' virtual method
}
called in the GL thread to fill the current video texture.
Parameters:
do_fill_gl_memory
def do_fill_gl_memory (src, mem):
#python implementation of the 'fill_gl_memory' virtual method
called in the GL thread to fill the current video texture.
Parameters:
gl_start
gboolean gl_start (GstGLBaseSrc * src)
called in the GL thread to setup the element GL state.
Parameters:
src
–
vfunc_gl_start
function vfunc_gl_start(src: GstGL.GLBaseSrc): {
// javascript implementation of the 'gl_start' virtual method
}
called in the GL thread to setup the element GL state.
Parameters:
do_gl_start
def do_gl_start (src):
#python implementation of the 'gl_start' virtual method
called in the GL thread to setup the element GL state.
Parameters:
gl_stop
gl_stop (GstGLBaseSrc * src)
called in the GL thread to setup the element GL state.
Parameters:
src
–
vfunc_gl_stop
function vfunc_gl_stop(src: GstGL.GLBaseSrc): {
// javascript implementation of the 'gl_stop' virtual method
}
called in the GL thread to setup the element GL state.
Parameters:
do_gl_stop
def do_gl_stop (src):
#python implementation of the 'gl_stop' virtual method
called in the GL thread to setup the element GL state.
Parameters:
The results of the search are