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
constructArgumentsConstructArgument[]
VideoSink(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected VideoSink(CreationData data)
Parameters
dataCreationData
VideoSink(VideoSinkHandle)
protected VideoSink(VideoSinkHandle handle)
Parameters
handleVideoSinkHandle
Fields
ShowPrerollFramePropertyDefinition
public static readonly Property<bool, VideoSink> ShowPrerollFramePropertyDefinition
Field Value
Properties
ShowPrerollFrame
public bool ShowPrerollFrame { get; set; }
Property Value
Methods
CenterRect(VideoRectangle, VideoRectangle, out VideoRectangle, bool)
public static void CenterRect(VideoRectangle src, VideoRectangle dst, out VideoRectangle result, bool scaling)
Parameters
srcVideoRectangledstVideoRectangleresultVideoRectanglescalingbool
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed VideoSink instance for a given pointer.
public static VideoSink NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new VideoSink and sets the properties specified by the construct arguments.
public static VideoSink NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.