gi-gsttag-1.0.12: GStreamer Tag bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GstTag.Interfaces.TagXmpWriter

Contents

Description

<refsect2> <para> This interface is implemented by elements that are able to do XMP serialization. Examples for such elements are jifmux and qtmux. </para> <para> 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. </para> </refsect2>

Synopsis

Exported types

Methods

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.