GstGL.GLBaseMixer

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Element Gst.Element GstBase.Aggregator GstBase.Aggregator Gst.Element->GstBase.Aggregator Gst.Object->Gst.Element GstVideo.VideoAggregator GstVideo.VideoAggregator GstBase.Aggregator->GstVideo.VideoAggregator GstGL.GLBaseMixer GstGL.GLBaseMixer GstVideo.VideoAggregator->GstGL.GLBaseMixer

Subclasses:

GstGL.GLMixer

Methods

Inherited:

GstVideo.VideoAggregator (1), GstBase.Aggregator (16), Gst.Element (82), Gst.Object (27), GObject.Object (37)

Structs:

Gst.ElementClass (10), GObject.ObjectClass (5)

get_gl_context ()

Virtual Methods

Inherited:

GstVideo.VideoAggregator (4), GstBase.Aggregator (22), Gst.Element (16), Gst.Object (1), GObject.Object (7)

do_gl_start ()

do_gl_stop ()

Properties

Inherited:

GstVideo.VideoAggregator (1), GstBase.Aggregator (5), Gst.Object (2)

Name

Type

Flags

Short Description

context

GstGL.GLContext

r

Get OpenGL context

Signals

Inherited:

GstBase.Aggregator (1), Gst.Element (3), Gst.Object (1), GObject.Object (1)

Fields

Inherited:

GstBase.Aggregator (1), Gst.Element (3), Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

context

GstGL.GLContext

r

the currently configured GstGL.GLContext

display

GstGL.GLDisplay

r

the currently configured GstGL.GLDisplay

parent

GstVideo.VideoAggregator

r

parent GstVideo.VideoAggregator

Class Details

class GstGL.GLBaseMixer(**kwargs)
Bases:

GstVideo.VideoAggregator

Abstract:

Yes

Structure:

GstGL.GLBaseMixerClass

GstGL.GLBaseMixer handles the nitty gritty details of retrieving an OpenGL context. It provides some virtual methods to know when the OpenGL context is available and is not available within this element.

New in version 1.24.

get_gl_context()[source]
Returns:

the GstGL.GLContext found by self

Return type:

GstGL.GLContext or None

New in version 1.24.

do_gl_start() virtual
Returns:

whether the start was successful

Return type:

bool

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

New in version 1.24.

do_gl_stop() virtual

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

New in version 1.24.

Property Details

GstGL.GLBaseMixer.props.context
Name:

context

Type:

GstGL.GLContext

Default Value:

None

Flags:

READABLE

The GstGL.GLContext in use by this GstGL.GLBaseMixer

New in version 1.24.