gi-gsttag-1.0.21: GStreamer Tag bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstTag.Objects.TagMux

Description

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

Deriving from GstTagMux

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.
Synopsis

Exported types

newtype TagMux Source #

Memory-managed wrapper type.

Constructors

TagMux (ManagedPtr TagMux) 

Instances

Instances details
Eq TagMux Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

Methods

(==) :: TagMux -> TagMux -> Bool #

(/=) :: TagMux -> TagMux -> Bool #

GObject TagMux Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

Methods

gobjectType :: IO GType #

IsGValue TagMux Source #

Convert TagMux to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.GstTag.Objects.TagMux

HasParentTypes TagMux Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

type ParentTypes TagMux Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

type ParentTypes TagMux = '[Element, Object, Object, TagSetter]

class (GObject o, IsDescendantOf TagMux o) => IsTagMux o Source #

Type class for types which can be safely cast to TagMux, for instance with toTagMux.

Instances

Instances details
(GObject o, IsDescendantOf TagMux o) => IsTagMux o Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

toTagMux :: (MonadIO m, IsTagMux o) => o -> m TagMux Source #

Cast to TagMux, for types for which this is known to be safe. For general casts, use castTo.

noTagMux :: Maybe TagMux Source #

A convenience alias for Nothing :: Maybe TagMux.

Methods

Overloaded methods