GstBase.BaseParseClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
convert |
r |
Optional. Convert between formats. |
|
detect |
r |
Optional. Called until it doesn’t return |
|
get_sink_caps |
r |
Optional. Allows the subclass to do its own sink get caps if needed. |
|
handle_frame |
r |
Parses the input data into valid frames as defined by subclass which should be passed to |
|
parent_class |
r |
the parent class |
|
pre_push_frame |
r |
Optional. Called just prior to pushing a frame (after any pending events have been sent) to give subclass a chance to perform additional actions at this time (e.g. tag sending) or to decide whether this buffer should be dropped or not (e.g. custom segment clipping). |
|
set_sink_caps |
r |
Optional. Allows the subclass to be notified of the actual caps set. |
|
sink_event |
r |
Optional. Event handler on the sink pad. This function should chain up to the parent implementation to let the default handler run. |
|
sink_query |
r |
Optional. Query handler on the sink pad. This function should chain up to the parent implementation to let the default handler run |
|
src_event |
r |
Optional. Event handler on the source pad. Should chain up to the parent to let the default handler run. |
|
src_query |
r |
Optional. Query handler on the source pad. Should chain up to the parent to let the default handler run |
|
start |
r |
Optional. Called when the element starts processing. Allows opening external resources. |
|
stop |
r |
Optional. Called when the element stops processing. Allows closing external resources. |
Methods¶
None
Details¶
- class GstBase.BaseParseClass¶
Subclasses can override any of the available virtual methods or not, as needed. At minimum handle_frame needs to be overridden.