GstTag.TagMux

g GObject.GInterface GObject.GInterface Gst.TagSetter Gst.TagSetter GObject.GInterface->Gst.TagSetter GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Element Gst.Element GstTag.TagMux GstTag.TagMux Gst.Element->GstTag.TagMux Gst.Object->Gst.Element Gst.TagSetter->GstTag.TagMux

Subclasses:None

Virtual Methods

Inherited:Gst.Element (16), Gst.Object (1), GObject.Object (7)
  do_render_end_tag (tag_list)
  do_render_start_tag (tag_list)

Properties

Inherited:Gst.Object (2)

Fields

Inherited:Gst.Element (3), Gst.Object (1), GObject.Object (1)
Name Type Access Description
element Gst.Element r parent element

Class Details

class GstTag.TagMux(**kwargs)
Bases:Gst.Element, Gst.TagSetter
Abstract:Yes
Structure:GstTag.TagMuxClass

Provides a base class for adding tags at the beginning or end of a stream.

Deriving from GstTag.TagMux

Subclasses have to do the following things:

  • In their base init function, they must add pad templates for the sink pad and the source pad to the element class, describing the media type they accept and output in the caps of the pad template.
  • In their class init function, they must override the GST_TAG_MUX_CLASS(mux_klass)->render_start_tag and/or GST_TAG_MUX_CLASS(mux_klass)->render_end_tag vfuncs and set up a render function.
do_render_end_tag(tag_list) virtual
Parameters:tag_list (Gst.TagList) –
Return type:Gst.Buffer
do_render_start_tag(tag_list) virtual
Parameters:tag_list (Gst.TagList) –
Return type:Gst.Buffer