CustomMetaTransformFunction


Description:

[ CCode ( instance_pos = 5.9 ) ]
[ Version ( since = "1.20" ) ]
public delegate bool CustomMetaTransformFunction (Buffer transbuf, CustomMeta meta, Buffer buffer, Quark type, void* data)

Function called for each meta in buffer as a result of performing a transformation that yields transbuf.

Additional type specific transform data is passed to the function as data.

Implementations should check the type of the transform and parse additional type specific fields in data that should be used to update the metadata on transbuf.

Parameters:

transbuf

a Buffer

meta

a CustomMeta

buffer

a Buffer

type

the transform type

data

transform specific data.

user_data

user data passed when registering the meta

Returns:

true if the transform could be performed


Namespace: Gst
Package: gstreamer-1.0