gi-gst-1.0.18: GStreamer 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.Gst.Objects.TracerFactory

Contents

Description

Use tracerFactoryGetList to get a list of tracer factories known to GStreamer.

Since: 1.8

Synopsis

Exported types

newtype TracerFactory Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf TracerFactory o) => IsTracerFactory o Source #

Type class for types which can be safely cast to TracerFactory, for instance with toTracerFactory.

Instances
(GObject o, IsDescendantOf TracerFactory o) => IsTracerFactory o Source # 
Instance details

Defined in GI.Gst.Objects.TracerFactory

toTracerFactory :: (MonadIO m, IsTracerFactory o) => o -> m TracerFactory Source #

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

Methods

getList

tracerFactoryGetList Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m [TracerFactory]

Returns: the list of all registered TracerFactory.

Gets the list of all registered tracer factories. You must free the list using pluginFeatureListFree.

The returned factories are sorted by factory name.

Free-function: gst_plugin_feature_list_free

Since: 1.8

getTracerType

tracerFactoryGetTracerType Source #

Arguments

:: (HasCallStack, MonadIO m, IsTracerFactory a) 
=> a

factory: factory to get managed GType from

-> m GType

Returns: the GType for tracers managed by this factory or 0 if the factory is not loaded.

Get the GType for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with pluginFeatureLoad.