Class EncodingProfile
- Namespace
- GstPbutils
- Assembly
- GstPbutils-1.0.dll
public class EncodingProfile : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
EncodingProfile
- Implements
- Derived
- Inherited Members
Constructors
EncodingProfile(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 EncodingProfile(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
EncodingProfile(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EncodingProfile(CreationData data)
Parameters
dataCreationData
EncodingProfile(EncodingProfileHandle)
protected EncodingProfile(EncodingProfileHandle handle)
Parameters
handleEncodingProfileHandle
Fields
ElementPropertiesPropertyDefinition
public static readonly Property<Structure, EncodingProfile> ElementPropertiesPropertyDefinition
Field Value
RestrictionCapsPropertyDefinition
public static readonly Property<Caps, EncodingProfile> RestrictionCapsPropertyDefinition
Field Value
Properties
ElementProperties
public Structure ElementProperties { get; set; }
Property Value
RestrictionCaps
public Caps RestrictionCaps { get; set; }
Property Value
Methods
Copy()
[Version("1.12")]
public EncodingProfile Copy()
Returns
Find(string, string?, string?)
public static EncodingProfile? Find(string targetname, string? profilename, string? category)
Parameters
Returns
FromDiscoverer(DiscovererInfo)
public static EncodingProfile? FromDiscoverer(DiscovererInfo info)
Parameters
infoDiscovererInfo
Returns
FromString(string)
[Version("1.26")]
public static EncodingProfile? FromString(string @string)
Parameters
stringstring
Returns
GetAllowDynamicOutput()
public bool GetAllowDynamicOutput()
Returns
GetDescription()
public string? GetDescription()
Returns
GetElementProperties()
[Version("1.20")]
public Structure? GetElementProperties()
Returns
GetFileExtension()
public string? GetFileExtension()
Returns
GetFormat()
public Caps GetFormat()
Returns
GetGType()
public static Type GetGType()
Returns
GetInputCaps()
public Caps GetInputCaps()
Returns
GetName()
public string? GetName()
Returns
GetPresence()
public uint GetPresence()
Returns
GetPreset()
public string? GetPreset()
Returns
GetPresetName()
public string? GetPresetName()
Returns
GetRestriction()
public Caps? GetRestriction()
Returns
GetSingleSegment()
[Version("1.18")]
public bool GetSingleSegment()
Returns
GetTypeNick()
public string GetTypeNick()
Returns
IsEnabled()
public bool IsEnabled()
Returns
IsEqual(EncodingProfile)
public bool IsEqual(EncodingProfile b)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed EncodingProfile instance for a given pointer.
public static EncodingProfile NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new EncodingProfile and sets the properties specified by the construct arguments.
public static EncodingProfile NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetAllowDynamicOutput(bool)
public void SetAllowDynamicOutput(bool allowDynamicOutput)
Parameters
allowDynamicOutputbool
SetDescription(string?)
public void SetDescription(string? description)
Parameters
descriptionstring
SetElementProperties(Structure)
[Version("1.20")]
public void SetElementProperties(Structure elementProperties)
Parameters
elementPropertiesStructure
SetEnabled(bool)
[Version("1.6")]
public void SetEnabled(bool enabled)
Parameters
enabledbool
SetFormat(Caps)
public void SetFormat(Caps format)
Parameters
formatCaps
SetName(string?)
public void SetName(string? name)
Parameters
namestring
SetPresence(uint)
public void SetPresence(uint presence)
Parameters
presenceuint
SetPreset(string?)
public void SetPreset(string? preset)
Parameters
presetstring
SetPresetName(string?)
public void SetPresetName(string? presetName)
Parameters
presetNamestring
SetRestriction(Caps?)
public void SetRestriction(Caps? restriction)
Parameters
restrictionCaps
SetSingleSegment(bool)
[Version("1.18")]
public void SetSingleSegment(bool singleSegment)
Parameters
singleSegmentbool
ToString()
[Version("1.26")]
public string ToString()