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
constructArgumentsConstructArgument[]
BaseTransform(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BaseTransform(CreationData data)
Parameters
dataCreationData
BaseTransform(BaseTransformHandle)
protected BaseTransform(BaseTransformHandle handle)
Parameters
handleBaseTransformHandle
Fields
QosPropertyDefinition
public static readonly Property<bool, BaseTransform> QosPropertyDefinition
Field Value
Properties
Qos
public bool Qos { get; set; }
Property Value
Methods
GetBufferPool()
public BufferPool? GetBufferPool()
Returns
GetGType()
public static Type GetGType()
Returns
IsInPlace()
public bool IsInPlace()
Returns
IsPassthrough()
public bool IsPassthrough()
Returns
IsQosEnabled()
public bool IsQosEnabled()
Returns
NewFromPointer(nint, bool)
Creates a new managed BaseTransform instance for a given pointer.
public static BaseTransform NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BaseTransform and sets the properties specified by the construct arguments.
public static BaseTransform NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Reconfigure()
[Version("1.18")]
public bool Reconfigure()
Returns
ReconfigureSink()
public void ReconfigureSink()
ReconfigureSrc()
public void ReconfigureSrc()
SetGapAware(bool)
public void SetGapAware(bool gapAware)
Parameters
gapAwarebool
SetInPlace(bool)
public void SetInPlace(bool inPlace)
Parameters
inPlacebool
SetPassthrough(bool)
public void SetPassthrough(bool passthrough)
Parameters
passthroughbool
SetPreferPassthrough(bool)
[Version("1.0.1")]
public void SetPreferPassthrough(bool preferPassthrough)
Parameters
preferPassthroughbool
SetQosEnabled(bool)
public void SetQosEnabled(bool enabled)
Parameters
enabledbool
UpdateQos(double, ClockTimeDiff, ClockTime)
public void UpdateQos(double proportion, ClockTimeDiff diff, ClockTime timestamp)
Parameters
proportiondoublediffClockTimeDifftimestampClockTime
UpdateSrcCaps(Caps)
[Version("1.6")]
public bool UpdateSrcCaps(Caps updatedCaps)
Parameters
updatedCapsCaps