gi-gsttag-1.0.17: GStreamer Tag bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstTag.Objects.TagMux

Contents

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
GObject TagMux Source # 
Instance details

Defined in GI.GstTag.Objects.TagMux

Methods

gobjectType :: IO GType #

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 ': ([] :: [Type]))))

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