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) –
No description available
display (GstGLDisplay *) –

the currently configured GstGLDisplay

context (GstGLContext *) –

the currently configured GstGLContext

out_info (GstVideoInfo) –

the currently configured output GstVideoInfo

out_caps (GstCaps *) –

the currently configured output GstCaps

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) –
No description available
supported_gl_api (GstGLAPI) –

the logical-OR of GstGLAPI's supported by this element

Since : 1.18


Properties

timestamp-offset

“timestamp-offset” gint64

Flags : Read / Write


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
No description available
mem
No description available
Returns
No description available

gl_start

gboolean
gl_start (GstGLBaseSrc * src)

called in the GL thread to setup the element GL state.

Parameters:

src
No description available
Returns
No description available

gl_stop

gl_stop (GstGLBaseSrc * src)

called in the GL thread to setup the element GL state.

Parameters:

src
No description available

The results of the search are