Table of Contents

Class Meta

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public class Meta
Inheritance
Meta
Inherited Members

Methods

ApiTypeGetTags(Type)

Calls native function gst_meta_api_type_get_tags. Version: 1.2

[Version("1.2")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle ApiTypeGetTags(Type api)

Parameters

api Type

Transfer ownership: None Nullable: False

Returns

Utf8StringArrayNullTerminatedUnownedHandle

Transfer ownership: None Nullable: False

ApiTypeHasTag(Type, Quark)

Calls native function gst_meta_api_type_has_tag.

public static extern bool ApiTypeHasTag(Type api, Quark tag)

Parameters

api Type

Transfer ownership: None Nullable: False

tag Quark

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ApiTypeRegister(NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)

Calls native function gst_meta_api_type_register.

public static extern nuint ApiTypeRegister(NonNullableUtf8StringHandle api, Utf8StringArrayNullTerminatedHandle tags)

Parameters

api NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

tags Utf8StringArrayNullTerminatedHandle

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

CompareSeqnum(MetaHandle, MetaHandle)

Calls native method gst_meta_compare_seqnum. Version: 1.16

[Version("1.16")]
public static extern int CompareSeqnum(MetaHandle meta1, MetaHandle meta2)

Parameters

meta1 MetaHandle

Transfer ownership: None Nullable: False

meta2 MetaHandle

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetInfo(NonNullableUtf8StringHandle)

Calls native function gst_meta_get_info.

public static extern MetaInfoUnownedHandle GetInfo(NonNullableUtf8StringHandle impl)

Parameters

impl NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

MetaInfoUnownedHandle

Transfer ownership: None Nullable: True

GetSeqnum(MetaHandle)

Calls native method gst_meta_get_seqnum. Version: 1.16

[Version("1.16")]
public static extern ulong GetSeqnum(MetaHandle meta)

Parameters

meta MetaHandle

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

Register(Type, NonNullableUtf8StringHandle, nuint, MetaInitFunction, MetaFreeFunction, MetaTransformFunction)

Calls native function gst_meta_register.

public static extern MetaInfoUnownedHandle Register(Type api, NonNullableUtf8StringHandle impl, nuint size, MetaInitFunction initFunc, MetaFreeFunction freeFunc, MetaTransformFunction transformFunc)

Parameters

api Type

Transfer ownership: None Nullable: False

impl NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

size nuint

Transfer ownership: None Nullable: False

initFunc MetaInitFunction

Transfer ownership: None Nullable: False

freeFunc MetaFreeFunction

Transfer ownership: None Nullable: False

transformFunc MetaTransformFunction

Transfer ownership: None Nullable: False

Returns

MetaInfoUnownedHandle

Transfer ownership: None Nullable: False

RegisterCustom(NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle, CustomMetaTransformFunction, IntPtr, DestroyNotify)

Calls native function gst_meta_register_custom. Version: 1.20

[Version("1.20")]
public static extern MetaInfoUnownedHandle RegisterCustom(NonNullableUtf8StringHandle name, Utf8StringArrayNullTerminatedHandle tags, CustomMetaTransformFunction transformFunc, IntPtr userData, DestroyNotify destroyData)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

tags Utf8StringArrayNullTerminatedHandle

Transfer ownership: None Nullable: False

transformFunc CustomMetaTransformFunction

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroyData DestroyNotify

Transfer ownership: None Nullable: False

Returns

MetaInfoUnownedHandle

Transfer ownership: None Nullable: False