Class EncodingVideoProfile
- Namespace
- GstPbutils
- Assembly
- GstPbutils-1.0.dll
public class EncodingVideoProfile : EncodingProfile, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
EncodingVideoProfile
- Implements
- Inherited Members
Constructors
EncodingVideoProfile(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 EncodingVideoProfile(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
EncodingVideoProfile(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EncodingVideoProfile(CreationData data)
Parameters
dataCreationData
EncodingVideoProfile(EncodingVideoProfileHandle)
protected EncodingVideoProfile(EncodingVideoProfileHandle handle)
Parameters
handleEncodingVideoProfileHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetPass()
public uint GetPass()
Returns
GetVariableframerate()
public bool GetVariableframerate()
Returns
New(Caps, string?, Caps?, uint)
public static EncodingVideoProfile New(Caps format, string? preset, Caps? restriction, uint presence)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed EncodingVideoProfile instance for a given pointer.
public static EncodingVideoProfile NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EncodingVideoProfile and sets the properties specified by the construct arguments.
public static EncodingVideoProfile NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetPass(uint)
public void SetPass(uint pass)
Parameters
passuint
SetVariableframerate(bool)
public void SetVariableframerate(bool variableframerate)
Parameters
variableframeratebool