Table of Contents

Class Pad

Namespace
Gst
Assembly
Gst-1.0.dll
public class Pad : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Pad
Implements
Derived
Inherited Members

Constructors

Pad()

public Pad()

Pad(params ConstructArgument[])

protected Pad(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Pad(IntPtr, bool)

protected Pad(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CapsPropertyDefinition

public static readonly Property<Caps, Pad> CapsPropertyDefinition

Field Value

Property<Caps, Pad>

DirectionPropertyDefinition

public static readonly Property<PadDirection, Pad> DirectionPropertyDefinition

Field Value

Property<PadDirection, Pad>

LinkedSignal

Signal Descriptor for OnLinked.

public static readonly Signal<Pad, Pad.LinkedSignalArgs> LinkedSignal

Field Value

Signal<Pad, Pad.LinkedSignalArgs>

OffsetPropertyDefinition

public static readonly Property<long, Pad> OffsetPropertyDefinition

Field Value

Property<long, Pad>

TemplatePropertyDefinition

public static readonly Property<PadTemplate?, Pad> TemplatePropertyDefinition

Field Value

Property<PadTemplate, Pad>

UnlinkedSignal

Signal Descriptor for OnUnlinked.

public static readonly Signal<Pad, Pad.UnlinkedSignalArgs> UnlinkedSignal

Field Value

Signal<Pad, Pad.UnlinkedSignalArgs>

Properties

Caps

public Caps Caps { get; }

Property Value

Caps

Direction

public PadDirection Direction { get; }

Property Value

PadDirection

Offset

public long Offset { get; set; }

Property Value

long

Template

public PadTemplate? Template { get; set; }

Property Value

PadTemplate

Methods

ActivateMode(PadMode, bool)

public bool ActivateMode(PadMode mode, bool active)

Parameters

mode PadMode
active bool

Returns

bool

AddProbe(PadProbeType, PadProbeCallback)

public ulong AddProbe(PadProbeType mask, PadProbeCallback callback)

Parameters

mask PadProbeType
callback PadProbeCallback

Returns

ulong
public bool CanLink(Pad sinkpad)

Parameters

sinkpad Pad

Returns

bool

Chain(Buffer)

public FlowReturn Chain(Buffer buffer)

Parameters

buffer Buffer

Returns

FlowReturn

ChainList(BufferList)

public FlowReturn ChainList(BufferList list)

Parameters

list BufferList

Returns

FlowReturn

CheckReconfigure()

public bool CheckReconfigure()

Returns

bool

CreateStreamId(Element, string?)

public string CreateStreamId(Element parent, string? streamId)

Parameters

parent Element
streamId string

Returns

string

CreateStreamIdPrintfValist(Element, string?, IntPtr)

public string CreateStreamIdPrintfValist(Element parent, string? streamId, IntPtr varArgs)

Parameters

parent Element
streamId string
varArgs IntPtr

Returns

string

EventDefault(Object?, Event)

public bool EventDefault(Object? parent, Event @event)

Parameters

parent Object
event Event

Returns

bool

Forward(PadForwardFunction)

public bool Forward(PadForwardFunction forward)

Parameters

forward PadForwardFunction

Returns

bool

GetAllowedCaps()

public Caps? GetAllowedCaps()

Returns

Caps

GetCurrentCaps()

public Caps? GetCurrentCaps()

Returns

Caps

GetDirection()

public PadDirection GetDirection()

Returns

PadDirection

GetElementPrivate()

public IntPtr GetElementPrivate()

Returns

IntPtr

GetGType()

public static Type GetGType()

Returns

Type

GetLastFlowReturn()

[Version("1.4")]
public FlowReturn GetLastFlowReturn()

Returns

FlowReturn

GetOffset()

public long GetOffset()

Returns

long

GetPadTemplate()

public PadTemplate? GetPadTemplate()

Returns

PadTemplate

GetPadTemplateCaps()

public Caps GetPadTemplateCaps()

Returns

Caps

GetParentElement()

public Element? GetParentElement()

Returns

Element

GetPeer()

public Pad? GetPeer()

Returns

Pad
[Version("1.18")]
public Pad? GetSingleInternalLink()

Returns

Pad

GetStickyEvent(EventType, uint)

public Event? GetStickyEvent(EventType eventType, uint idx)

Parameters

eventType EventType
idx uint

Returns

Event

GetStream()

[Version("1.10")]
public Stream? GetStream()

Returns

Stream

GetStreamId()

[Version("1.2")]
public string? GetStreamId()

Returns

string

GetTaskState()

[Version("1.12")]
public TaskState GetTaskState()

Returns

TaskState

HasCurrentCaps()

public bool HasCurrentCaps()

Returns

bool

IsActive()

public bool IsActive()

Returns

bool

IsBlocked()

public bool IsBlocked()

Returns

bool

IsBlocking()

public bool IsBlocking()

Returns

bool

IsLinked()

public bool IsLinked()

Returns

bool
public Iterator? IterateInternalLinks()

Returns

Iterator

IterateInternalLinksDefault(Object?)

public Iterator? IterateInternalLinksDefault(Object? parent)

Parameters

parent Object

Returns

Iterator
public PadLinkReturn Link(Pad sinkpad)

Parameters

sinkpad Pad

Returns

PadLinkReturn

LinkFull(Pad, PadLinkCheck)

public PadLinkReturn LinkFull(Pad sinkpad, PadLinkCheck flags)

Parameters

sinkpad Pad
flags PadLinkCheck

Returns

PadLinkReturn

LinkGetName(PadLinkReturn)

[Version("1.4")]
public static string LinkGetName(PadLinkReturn ret)

Parameters

ret PadLinkReturn

Returns

string

LinkMaybeGhosting(Pad)

[Version("1.10")]
public bool LinkMaybeGhosting(Pad sink)

Parameters

sink Pad

Returns

bool

LinkMaybeGhostingFull(Pad, PadLinkCheck)

[Version("1.10")]
public bool LinkMaybeGhostingFull(Pad sink, PadLinkCheck flags)

Parameters

sink Pad
flags PadLinkCheck

Returns

bool

MarkReconfigure()

public void MarkReconfigure()

NeedsReconfigure()

public bool NeedsReconfigure()

Returns

bool

New(string?, PadDirection)

public static Pad New(string? name, PadDirection direction)

Parameters

name string
direction PadDirection

Returns

Pad

NewFromStaticTemplate(StaticPadTemplate, string)

public static Pad NewFromStaticTemplate(StaticPadTemplate templ, string name)

Parameters

templ StaticPadTemplate
name string

Returns

Pad

NewFromTemplate(PadTemplate, string?)

public static Pad NewFromTemplate(PadTemplate templ, string? name)

Parameters

templ PadTemplate
name string

Returns

Pad

PauseTask()

public bool PauseTask()

Returns

bool

PeerQuery(Query)

public bool PeerQuery(Query query)

Parameters

query Query

Returns

bool

PeerQueryAcceptCaps(Caps)

public bool PeerQueryAcceptCaps(Caps caps)

Parameters

caps Caps

Returns

bool

PeerQueryCaps(Caps?)

public Caps PeerQueryCaps(Caps? filter)

Parameters

filter Caps

Returns

Caps

PeerQueryConvert(Format, long, Format, out long)

public bool PeerQueryConvert(Format srcFormat, long srcVal, Format destFormat, out long destVal)

Parameters

srcFormat Format
srcVal long
destFormat Format
destVal long

Returns

bool

PeerQueryDuration(Format, out long)

public bool PeerQueryDuration(Format format, out long duration)

Parameters

format Format
duration long

Returns

bool

PeerQueryPosition(Format, out long)

public bool PeerQueryPosition(Format format, out long cur)

Parameters

format Format
cur long

Returns

bool

ProxyQueryAcceptCaps(Query)

public bool ProxyQueryAcceptCaps(Query query)

Parameters

query Query

Returns

bool

ProxyQueryCaps(Query)

public bool ProxyQueryCaps(Query query)

Parameters

query Query

Returns

bool

Push(Buffer)

public FlowReturn Push(Buffer buffer)

Parameters

buffer Buffer

Returns

FlowReturn

PushEvent(Event)

public bool PushEvent(Event @event)

Parameters

event Event

Returns

bool

PushList(BufferList)

public FlowReturn PushList(BufferList list)

Parameters

list BufferList

Returns

FlowReturn

Query(Query)

public bool Query(Query query)

Parameters

query Query

Returns

bool

QueryAcceptCaps(Caps)

public bool QueryAcceptCaps(Caps caps)

Parameters

caps Caps

Returns

bool

QueryCaps(Caps?)

public Caps QueryCaps(Caps? filter)

Parameters

filter Caps

Returns

Caps

QueryConvert(Format, long, Format, out long)

public bool QueryConvert(Format srcFormat, long srcVal, Format destFormat, out long destVal)

Parameters

srcFormat Format
srcVal long
destFormat Format
destVal long

Returns

bool

QueryDefault(Object?, Query)

public bool QueryDefault(Object? parent, Query query)

Parameters

parent Object
query Query

Returns

bool

QueryDuration(Format, out long)

public bool QueryDuration(Format format, out long duration)

Parameters

format Format
duration long

Returns

bool

QueryPosition(Format, out long)

public bool QueryPosition(Format format, out long cur)

Parameters

format Format
cur long

Returns

bool

RemoveProbe(ulong)

public void RemoveProbe(ulong id)

Parameters

id ulong

SendEvent(Event)

public bool SendEvent(Event @event)

Parameters

event Event

Returns

bool

SetActivateFunctionFull(PadActivateFunction)

public void SetActivateFunctionFull(PadActivateFunction activate)

Parameters

activate PadActivateFunction

SetActivatemodeFunctionFull(PadActivateModeFunction)

public void SetActivatemodeFunctionFull(PadActivateModeFunction activatemode)

Parameters

activatemode PadActivateModeFunction

SetActive(bool)

public bool SetActive(bool active)

Parameters

active bool

Returns

bool

SetChainFunctionFull(PadChainFunction)

public void SetChainFunctionFull(PadChainFunction chain)

Parameters

chain PadChainFunction

SetChainListFunctionFull(PadChainListFunction)

public void SetChainListFunctionFull(PadChainListFunction chainlist)

Parameters

chainlist PadChainListFunction

SetElementPrivate(IntPtr)

public void SetElementPrivate(IntPtr priv)

Parameters

priv IntPtr

SetEventFullFunctionFull(PadEventFullFunction)

[Version("1.8")]
public void SetEventFullFunctionFull(PadEventFullFunction @event)

Parameters

event PadEventFullFunction

SetEventFunctionFull(PadEventFunction)

public void SetEventFunctionFull(PadEventFunction @event)

Parameters

event PadEventFunction

SetGetrangeFunctionFull(PadGetRangeFunction)

public void SetGetrangeFunctionFull(PadGetRangeFunction get)

Parameters

get PadGetRangeFunction

SetIterateInternalLinksFunctionFull(PadIterIntLinkFunction)

public void SetIterateInternalLinksFunctionFull(PadIterIntLinkFunction iterintlink)

Parameters

iterintlink PadIterIntLinkFunction

SetLinkFunctionFull(PadLinkFunction)

public void SetLinkFunctionFull(PadLinkFunction link)

Parameters

link PadLinkFunction

SetOffset(long)

public void SetOffset(long offset)

Parameters

offset long

SetQueryFunctionFull(PadQueryFunction)

public void SetQueryFunctionFull(PadQueryFunction query)

Parameters

query PadQueryFunction

SetUnlinkFunctionFull(PadUnlinkFunction)

public void SetUnlinkFunctionFull(PadUnlinkFunction unlink)

Parameters

unlink PadUnlinkFunction

StartTask(TaskFunction)

public bool StartTask(TaskFunction func)

Parameters

func TaskFunction

Returns

bool

StickyEventsForeach(PadStickyEventsForeachFunction)

public void StickyEventsForeach(PadStickyEventsForeachFunction foreachFunc)

Parameters

foreachFunc PadStickyEventsForeachFunction

StopTask()

public bool StopTask()

Returns

bool

StoreStickyEvent(Event)

[Version("1.2")]
public FlowReturn StoreStickyEvent(Event @event)

Parameters

event Event

Returns

FlowReturn
public bool Unlink(Pad sinkpad)

Parameters

sinkpad Pad

Returns

bool

UseFixedCaps()

public void UseFixedCaps()

Events

OnLinked

public event SignalHandler<Pad, Pad.LinkedSignalArgs> OnLinked

Event Type

SignalHandler<Pad, Pad.LinkedSignalArgs>

OnUnlinked

public event SignalHandler<Pad, Pad.UnlinkedSignalArgs> OnUnlinked

Event Type

SignalHandler<Pad, Pad.UnlinkedSignalArgs>