Table of Contents

Class Bin

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

Methods

Add(IntPtr, IntPtr)

Calls native method gst_bin_add.

public static extern bool Add(IntPtr bin, IntPtr element)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

element IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

FindUnlinkedPad(IntPtr, PadDirection)

Calls native method gst_bin_find_unlinked_pad.

public static extern IntPtr FindUnlinkedPad(IntPtr bin, PadDirection direction)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

direction PadDirection

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetByInterface(IntPtr, Type)

Calls native method gst_bin_get_by_interface.

public static extern IntPtr GetByInterface(IntPtr bin, Type iface)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

iface Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetByName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_bin_get_by_name.

public static extern IntPtr GetByName(IntPtr bin, NonNullableUtf8StringHandle name)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetByNameRecurseUp(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_bin_get_by_name_recurse_up.

public static extern IntPtr GetByNameRecurseUp(IntPtr bin, NonNullableUtf8StringHandle name)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gst_bin_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetSuppressedFlags(IntPtr)

Calls native method gst_bin_get_suppressed_flags. Version: 1.10

[Version("1.10")]
public static extern ElementFlags GetSuppressedFlags(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

ElementFlags

Transfer ownership: None Nullable: False

IterateAllByElementFactoryName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gst_bin_iterate_all_by_element_factory_name. Version: 1.18

[Version("1.18")]
public static extern IteratorOwnedHandle IterateAllByElementFactoryName(IntPtr bin, NonNullableUtf8StringHandle factoryName)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

factoryName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateAllByInterface(IntPtr, Type)

Calls native method gst_bin_iterate_all_by_interface.

public static extern IteratorOwnedHandle IterateAllByInterface(IntPtr bin, Type iface)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

iface Type

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateElements(IntPtr)

Calls native method gst_bin_iterate_elements.

public static extern IteratorOwnedHandle IterateElements(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateRecurse(IntPtr)

Calls native method gst_bin_iterate_recurse.

public static extern IteratorOwnedHandle IterateRecurse(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateSinks(IntPtr)

Calls native method gst_bin_iterate_sinks.

public static extern IteratorOwnedHandle IterateSinks(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateSorted(IntPtr)

Calls native method gst_bin_iterate_sorted.

public static extern IteratorOwnedHandle IterateSorted(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

IterateSources(IntPtr)

Calls native method gst_bin_iterate_sources.

public static extern IteratorOwnedHandle IterateSources(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

IteratorOwnedHandle

Transfer ownership: Full Nullable: True

New(NullableUtf8StringHandle)

Calls native constructor gst_bin_new.

public static extern IntPtr New(NullableUtf8StringHandle name)

Parameters

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: False

RecalculateLatency(IntPtr)

Calls native method gst_bin_recalculate_latency.

public static extern bool RecalculateLatency(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Remove(IntPtr, IntPtr)

Calls native method gst_bin_remove.

public static extern bool Remove(IntPtr bin, IntPtr element)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

element IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetSuppressedFlags(IntPtr, ElementFlags)

Calls native method gst_bin_set_suppressed_flags. Version: 1.10

[Version("1.10")]
public static extern void SetSuppressedFlags(IntPtr bin, ElementFlags flags)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

flags ElementFlags

Transfer ownership: None Nullable: False

SyncChildrenStates(IntPtr)

Calls native method gst_bin_sync_children_states. Version: 1.6

[Version("1.6")]
public static extern bool SyncChildrenStates(IntPtr bin)

Parameters

bin IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False