Table of Contents

Class PadTemplate

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

Methods

GetCaps(IntPtr)

Calls native method gst_pad_template_get_caps.

public static extern CapsOwnedHandle GetCaps(IntPtr templ)

Parameters

templ IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: False

GetDocumentationCaps(IntPtr)

Calls native method gst_pad_template_get_documentation_caps. Version: 1.18

[Version("1.18")]
public static extern CapsOwnedHandle GetDocumentationCaps(IntPtr templ)

Parameters

templ IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function gst_pad_template_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, PadDirection, PadPresence, CapsHandle)

Calls native constructor gst_pad_template_new.

public static extern IntPtr New(NonNullableUtf8StringHandle nameTemplate, PadDirection direction, PadPresence presence, CapsHandle caps)

Parameters

nameTemplate NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

direction PadDirection

Transfer ownership: None Nullable: False

presence PadPresence

Transfer ownership: None Nullable: False

caps CapsHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

NewFromStaticPadTemplateWithGtype(StaticPadTemplateHandle, Type)

Calls native constructor gst_pad_template_new_from_static_pad_template_with_gtype. Version: 1.14

[Version("1.14")]
public static extern IntPtr NewFromStaticPadTemplateWithGtype(StaticPadTemplateHandle padTemplate, Type padType)

Parameters

padTemplate StaticPadTemplateHandle

Transfer ownership: None Nullable: False

padType Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

NewWithGtype(NonNullableUtf8StringHandle, PadDirection, PadPresence, CapsHandle, Type)

Calls native constructor gst_pad_template_new_with_gtype. Version: 1.14

[Version("1.14")]
public static extern IntPtr NewWithGtype(NonNullableUtf8StringHandle nameTemplate, PadDirection direction, PadPresence presence, CapsHandle caps, Type padType)

Parameters

nameTemplate NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

direction PadDirection

Transfer ownership: None Nullable: False

presence PadPresence

Transfer ownership: None Nullable: False

caps CapsHandle

Transfer ownership: None Nullable: False

padType Type

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

PadCreated(IntPtr, IntPtr)

Calls native method gst_pad_template_pad_created.

public static extern void PadCreated(IntPtr templ, IntPtr pad)

Parameters

templ IntPtr

Transfer ownership: None Nullable: False

pad IntPtr

Transfer ownership: None Nullable: False

SetDocumentationCaps(IntPtr, CapsHandle)

Calls native method gst_pad_template_set_documentation_caps. Version: 1.18

[Version("1.18")]
public static extern void SetDocumentationCaps(IntPtr templ, CapsHandle caps)

Parameters

templ IntPtr

Transfer ownership: None Nullable: False

caps CapsHandle

Transfer ownership: None Nullable: False