Table of Contents

Class BaseTransform

Namespace
GstBase
Assembly
GstBase-1.0.dll
public class BaseTransform : Element, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
BaseTransform
Implements
Derived
Inherited Members

Constructors

BaseTransform(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BaseTransform(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

BaseTransform(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BaseTransform(CreationData data)

Parameters

data CreationData

BaseTransform(BaseTransformHandle)

protected BaseTransform(BaseTransformHandle handle)

Parameters

handle BaseTransformHandle

Fields

QosPropertyDefinition

public static readonly Property<bool, BaseTransform> QosPropertyDefinition

Field Value

Property<bool, BaseTransform>

Properties

Qos

public bool Qos { get; set; }

Property Value

bool

Methods

GetBufferPool()

public BufferPool? GetBufferPool()

Returns

BufferPool

GetGType()

public static Type GetGType()

Returns

Type

IsInPlace()

public bool IsInPlace()

Returns

bool

IsPassthrough()

public bool IsPassthrough()

Returns

bool

IsQosEnabled()

public bool IsQosEnabled()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed BaseTransform instance for a given pointer.

public static BaseTransform NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

BaseTransform

NewWithProperties(ConstructArgument[])

Creates a new BaseTransform and sets the properties specified by the construct arguments.

public static BaseTransform NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

BaseTransform

Reconfigure()

[Version("1.18")]
public bool Reconfigure()

Returns

bool

ReconfigureSink()

public void ReconfigureSink()

ReconfigureSrc()

public void ReconfigureSrc()

SetGapAware(bool)

public void SetGapAware(bool gapAware)

Parameters

gapAware bool

SetInPlace(bool)

public void SetInPlace(bool inPlace)

Parameters

inPlace bool

SetPassthrough(bool)

public void SetPassthrough(bool passthrough)

Parameters

passthrough bool

SetPreferPassthrough(bool)

[Version("1.0.1")]
public void SetPreferPassthrough(bool preferPassthrough)

Parameters

preferPassthrough bool

SetQosEnabled(bool)

public void SetQosEnabled(bool enabled)

Parameters

enabled bool

UpdateQos(double, ClockTimeDiff, ClockTime)

public void UpdateQos(double proportion, ClockTimeDiff diff, ClockTime timestamp)

Parameters

proportion double
diff ClockTimeDiff
timestamp ClockTime

UpdateSrcCaps(Caps)

[Version("1.6")]
public bool UpdateSrcCaps(Caps updatedCaps)

Parameters

updatedCaps Caps

Returns

bool