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
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
–
gl_start
gboolean gl_start (GstGLBaseSrc * src)
called in the GL thread to setup the element GL state.
Parameters:
src
–
gl_stop
gl_stop (GstGLBaseSrc * src)
called in the GL thread to setup the element GL state.
Parameters:
src
–
The results of the search are