gi-gsttag-1.0.27: GStreamer Tag bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstTag.Interfaces.TagXmpWriter

Description

This interface is implemented by elements that are able to do XMP serialization. Examples for such elements are jifmux and qtmux.

Applications can use this interface to configure which XMP schemas should be used when serializing tags into XMP. Schemas are represented by their names, a full list of the supported schemas can be obtained from tagXmpListSchemas. By default, all schemas are used.

Synopsis

Exported types

newtype TagXmpWriter Source #

Memory-managed wrapper type.

Constructors

TagXmpWriter (ManagedPtr TagXmpWriter) 

Instances

Instances details
Eq TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

GObject TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

ManagedPtrNewtype TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

Methods

toManagedPtr :: TagXmpWriter -> ManagedPtr TagXmpWriter

TypedObject TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

Methods

glibType :: IO GType

HasParentTypes TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

IsGValue (Maybe TagXmpWriter) Source #

Convert TagXmpWriter to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe TagXmpWriter -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe TagXmpWriter)

type ParentTypes TagXmpWriter Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

type ParentTypes TagXmpWriter = '[Element, Object, Object]

class (GObject o, IsDescendantOf TagXmpWriter o) => IsTagXmpWriter o Source #

Type class for types which can be safely cast to TagXmpWriter, for instance with toTagXmpWriter.

Instances

Instances details
(GObject o, IsDescendantOf TagXmpWriter o) => IsTagXmpWriter o Source # 
Instance details

Defined in GI.GstTag.Interfaces.TagXmpWriter

toTagXmpWriter :: (MonadIO m, IsTagXmpWriter o) => o -> m TagXmpWriter Source #

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

Methods

Click to display all available methods, including inherited ones

Expand

Methods

abortState, addAllSchemas, addControlBinding, addPad, addPropertyDeepNotifyWatch, addPropertyNotifyWatch, addSchema, bindProperty, bindPropertyFull, callAsync, changeState, continueState, createAllPads, defaultError, forceFloating, foreachPad, foreachSinkPad, foreachSrcPad, freezeNotify, getv, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, hasSchema, isFloating, isLockedState, iteratePads, iterateSinkPads, iterateSrcPads, link, linkFiltered, linkPads, linkPadsFiltered, linkPadsFull, lostState, messageFull, messageFullWithDetails, noMorePads, notify, notifyByPspec, postMessage, provideClock, query, queryConvert, queryDuration, queryPosition, ref, refSink, releaseRequestPad, removeAllSchemas, removeControlBinding, removePad, removePropertyNotifyWatch, removeSchema, requestPad, requestPadSimple, runDispose, seek, seekSimple, sendEvent, stealData, stealQdata, suggestNextSync, syncStateWithParent, syncValues, tagListToXmpBuffer, thawNotify, unlink, unlinkPads, unparent, unref, watchClosure.

Getters

getBaseTime, getBus, getClock, getCompatiblePad, getCompatiblePadTemplate, getContext, getContextUnlocked, getContexts, getControlBinding, getControlRate, getCurrentClockTime, getCurrentRunningTime, getData, getFactory, getGValueArray, getMetadata, getName, getPadTemplate, getPadTemplateList, getParent, getPathString, getProperty, getQdata, getRequestPad, getStartTime, getState, getStaticPad, getValue.

Setters

setBaseTime, setBus, setClock, setContext, setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setData, setDataFull, setLockedState, setName, setParent, setProperty, setStartTime, setState.

addAllSchemas

tagXmpWriterAddAllSchemas Source #

Arguments

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

config: a TagXmpWriter

-> m () 

Adds all available XMP schemas to the configuration. Meaning that all will be used.

addSchema

tagXmpWriterAddSchema Source #

Arguments

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

config: a TagXmpWriter

-> Text

schema: the schema to be added

-> m () 

Adds schema to the list schemas

hasSchema

tagXmpWriterHasSchema Source #

Arguments

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

config: a TagXmpWriter

-> Text

schema: the schema to test

-> m Bool

Returns: True if it is going to be used

Checks if schema is going to be used

removeAllSchemas

tagXmpWriterRemoveAllSchemas Source #

Arguments

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

config: a TagXmpWriter

-> m () 

Removes all schemas from the list of schemas to use. Meaning that no XMP will be generated.

removeSchema

tagXmpWriterRemoveSchema Source #

Arguments

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

config: a TagXmpWriter

-> Text

schema: the schema to remove

-> m () 

Removes a schema from the list of schemas to use. Nothing is done if the schema wasn't in the list

tagListToXmpBuffer

tagXmpWriterTagListToXmpBuffer :: (HasCallStack, MonadIO m, IsTagXmpWriter a) => a -> TagList -> Bool -> m Buffer Source #

No description available in the introspection data.