Table of Contents

Class VideoSink

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public class VideoSink : BaseSink, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
VideoSink
Implements
Inherited Members

Constructors

VideoSink(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 VideoSink(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

VideoSink(CreationData)

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

Parameters

data CreationData

VideoSink(VideoSinkHandle)

protected VideoSink(VideoSinkHandle handle)

Parameters

handle VideoSinkHandle

Fields

ShowPrerollFramePropertyDefinition

public static readonly Property<bool, VideoSink> ShowPrerollFramePropertyDefinition

Field Value

Property<bool, VideoSink>

Properties

ShowPrerollFrame

public bool ShowPrerollFrame { get; set; }

Property Value

bool

Methods

CenterRect(VideoRectangle, VideoRectangle, out VideoRectangle, bool)

public static void CenterRect(VideoRectangle src, VideoRectangle dst, out VideoRectangle result, bool scaling)

Parameters

src VideoRectangle
dst VideoRectangle
result VideoRectangle
scaling bool

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed VideoSink instance for a given pointer.

public static VideoSink NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

VideoSink

NewWithProperties(ConstructArgument[])

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

public static VideoSink NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

VideoSink