Gst.StaticCaps

Fields

Name

Type

Access

Description

caps

Gst.Caps

r/w

the cached Gst.Caps

string

str

r/w

a string describing a caps

Methods

cleanup ()

get ()

Details

class Gst.StaticCaps

Data structure to initialize Gst.Caps from a string description usually used in conjunction with GST_STATIC_CAPS() and Gst.StaticCaps.get() to instantiate a Gst.Caps.

cleanup()[source]

Cleans up the cached caps contained in self.

get()[source]
Returns:

a pointer to the Gst.Caps. core holds an additional ref to the returned caps, use gst_caps_make_writable() on the returned caps to modify it.

Return type:

Gst.Caps or None

Converts a Gst.StaticCaps to a Gst.Caps.