Table of Contents

Class Registry

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

Methods

AddFeature(IntPtr, IntPtr)

Calls native method gst_registry_add_feature.

public static extern bool AddFeature(IntPtr registry, IntPtr feature)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

feature IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

AddPlugin(IntPtr, IntPtr)

Calls native method gst_registry_add_plugin.

public static extern bool AddPlugin(IntPtr registry, IntPtr plugin)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

plugin IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

CheckFeatureVersion(IntPtr, NonNullableUtf8StringHandle, uint, uint, uint)

Calls native method gst_registry_check_feature_version.

public static extern bool CheckFeatureVersion(IntPtr registry, NonNullableUtf8StringHandle featureName, uint minMajor, uint minMinor, uint minMicro)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

featureName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

minMajor uint

Transfer ownership: None Nullable: False

minMinor uint

Transfer ownership: None Nullable: False

minMicro uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

FeatureFilter(IntPtr, PluginFeatureFilter, bool, IntPtr)

Calls native method gst_registry_feature_filter.

public static extern ListOwnedHandle FeatureFilter(IntPtr registry, PluginFeatureFilter filter, bool first, IntPtr userData)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

filter PluginFeatureFilter

Transfer ownership: None Nullable: False

first bool

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

FindFeature(IntPtr, NonNullableUtf8StringHandle, Type)

Calls native method gst_registry_find_feature.

public static extern IntPtr FindFeature(IntPtr registry, NonNullableUtf8StringHandle name, Type type)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

type Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

FindPlugin(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_registry_find_plugin.

public static extern IntPtr FindPlugin(IntPtr registry, NonNullableUtf8StringHandle name)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

ForkIsEnabled()

Calls native function gst_registry_fork_is_enabled.

public static extern bool ForkIsEnabled()

Returns

bool

Transfer ownership: None Nullable: False

ForkSetEnabled(bool)

Calls native function gst_registry_fork_set_enabled.

public static extern void ForkSetEnabled(bool enabled)

Parameters

enabled bool

Transfer ownership: None Nullable: False

Get()

Calls native function gst_registry_get.

public static extern IntPtr Get()

Returns

IntPtr

Transfer ownership: None Nullable: False

GetFeatureList(IntPtr, Type)

Calls native method gst_registry_get_feature_list.

public static extern ListOwnedHandle GetFeatureList(IntPtr registry, Type type)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

type Type

Transfer ownership: None Nullable: False

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

GetFeatureListByPlugin(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_registry_get_feature_list_by_plugin.

public static extern ListOwnedHandle GetFeatureListByPlugin(IntPtr registry, NonNullableUtf8StringHandle name)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

GetFeatureListCookie(IntPtr)

Calls native method gst_registry_get_feature_list_cookie.

public static extern uint GetFeatureListCookie(IntPtr registry)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_registry_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPluginList(IntPtr)

Calls native method gst_registry_get_plugin_list.

public static extern ListOwnedHandle GetPluginList(IntPtr registry)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

Lookup(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_registry_lookup.

public static extern IntPtr Lookup(IntPtr registry, NonNullableUtf8StringHandle filename)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

filename NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

LookupFeature(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_registry_lookup_feature.

public static extern IntPtr LookupFeature(IntPtr registry, NonNullableUtf8StringHandle name)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

PluginFilter(IntPtr, PluginFilter, bool, IntPtr)

Calls native method gst_registry_plugin_filter.

public static extern ListOwnedHandle PluginFilter(IntPtr registry, PluginFilter filter, bool first, IntPtr userData)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

filter PluginFilter

Transfer ownership: None Nullable: False

first bool

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

Returns

ListOwnedHandle

Transfer ownership: Full Nullable: False

RemoveFeature(IntPtr, IntPtr)

Calls native method gst_registry_remove_feature.

public static extern void RemoveFeature(IntPtr registry, IntPtr feature)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

feature IntPtr

Transfer ownership: None Nullable: False

RemovePlugin(IntPtr, IntPtr)

Calls native method gst_registry_remove_plugin.

public static extern void RemovePlugin(IntPtr registry, IntPtr plugin)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

plugin IntPtr

Transfer ownership: None Nullable: False

ScanPath(IntPtr, NonNullablePlatformStringHandle)

Calls native method gst_registry_scan_path.

public static extern bool ScanPath(IntPtr registry, NonNullablePlatformStringHandle path)

Parameters

registry IntPtr

Transfer ownership: None Nullable: False

path NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False