Table of Contents

Class Caps

Namespace
Gst
Assembly
Gst-1.0.dll
public sealed class Caps : BoxedRecord, IEquatable<Caps>
Inheritance
Caps
Implements
Inherited Members

Constructors

Caps()

public Caps()

Caps(CapsOwnedHandle)

public Caps(CapsOwnedHandle handle)

Parameters

handle CapsOwnedHandle

Properties

Handle

public CapsOwnedHandle Handle { get; }

Property Value

CapsOwnedHandle

Methods

Append(Caps)

public void Append(Caps caps2)

Parameters

caps2 Caps

AppendStructure(Structure)

public void AppendStructure(Structure structure)

Parameters

structure Structure

AppendStructureFull(Structure, CapsFeatures?)

[Version("1.2")]
public void AppendStructureFull(Structure structure, CapsFeatures? features)

Parameters

structure Structure
features CapsFeatures

CanIntersect(Caps)

public bool CanIntersect(Caps caps2)

Parameters

caps2 Caps

Returns

bool

Copy()

public Caps Copy()

Returns

Caps

CopyNth(uint)

[Version("1.16")]
public Caps CopyNth(uint nth)

Parameters

nth uint

Returns

Caps

Equals(Caps?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Caps? other)

Parameters

other Caps

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FilterAndMapInPlace(CapsFilterMapFunc)

[Version("1.6")]
public void FilterAndMapInPlace(CapsFilterMapFunc func)

Parameters

func CapsFilterMapFunc

Fixate()

public Caps Fixate()

Returns

Caps

Foreach(CapsForeachFunc)

[Version("1.6")]
public bool Foreach(CapsForeachFunc func)

Parameters

func CapsForeachFunc

Returns

bool

FromString(string)

public static Caps? FromString(string @string)

Parameters

string string

Returns

Caps

GetFeatures(uint)

[Version("1.2")]
public CapsFeatures? GetFeatures(uint index)

Parameters

index uint

Returns

CapsFeatures

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetSize()

public uint GetSize()

Returns

uint

GetStructure(uint)

public Structure GetStructure(uint index)

Parameters

index uint

Returns

Structure

Intersect(Caps)

public Caps Intersect(Caps caps2)

Parameters

caps2 Caps

Returns

Caps

IntersectFull(Caps, CapsIntersectMode)

public Caps IntersectFull(Caps caps2, CapsIntersectMode mode)

Parameters

caps2 Caps
mode CapsIntersectMode

Returns

Caps

IsAlwaysCompatible(Caps)

public bool IsAlwaysCompatible(Caps caps2)

Parameters

caps2 Caps

Returns

bool

IsAny()

public bool IsAny()

Returns

bool

IsEmpty()

public bool IsEmpty()

Returns

bool

IsEqual(Caps)

public bool IsEqual(Caps caps2)

Parameters

caps2 Caps

Returns

bool

IsEqualFixed(Caps)

public bool IsEqualFixed(Caps caps2)

Parameters

caps2 Caps

Returns

bool

IsFixed()

public bool IsFixed()

Returns

bool

IsStrictlyEqual(Caps)

public bool IsStrictlyEqual(Caps caps2)

Parameters

caps2 Caps

Returns

bool

IsSubset(Caps)

public bool IsSubset(Caps superset)

Parameters

superset Caps

Returns

bool

IsSubsetStructure(Structure)

public bool IsSubsetStructure(Structure structure)

Parameters

structure Structure

Returns

bool

IsSubsetStructureFull(Structure, CapsFeatures?)

[Version("1.2")]
public bool IsSubsetStructureFull(Structure structure, CapsFeatures? features)

Parameters

structure Structure
features CapsFeatures

Returns

bool

MapInPlace(CapsMapFunc)

[Version("1.6")]
public bool MapInPlace(CapsMapFunc func)

Parameters

func CapsMapFunc

Returns

bool

Merge(Caps)

public Caps Merge(Caps caps2)

Parameters

caps2 Caps

Returns

Caps

MergeStructure(Structure)

public Caps MergeStructure(Structure structure)

Parameters

structure Structure

Returns

Caps

MergeStructureFull(Structure, CapsFeatures?)

[Version("1.2")]
public Caps MergeStructureFull(Structure structure, CapsFeatures? features)

Parameters

structure Structure
features CapsFeatures

Returns

Caps

NewAny()

public static Caps NewAny()

Returns

Caps

NewEmpty()

public static Caps NewEmpty()

Returns

Caps

NewEmptySimple(string)

public static Caps NewEmptySimple(string mediaType)

Parameters

mediaType string

Returns

Caps

NewFullValist(Structure, IntPtr)

public static Caps NewFullValist(Structure structure, IntPtr varArgs)

Parameters

structure Structure
varArgs IntPtr

Returns

Caps

Normalize()

public Caps Normalize()

Returns

Caps

RemoveStructure(uint)

public void RemoveStructure(uint idx)

Parameters

idx uint

Serialize(SerializeFlags)

[Version("1.20")]
public string Serialize(SerializeFlags flags)

Parameters

flags SerializeFlags

Returns

string

SetFeatures(uint, CapsFeatures?)

[Version("1.2")]
public void SetFeatures(uint index, CapsFeatures? features)

Parameters

index uint
features CapsFeatures

SetFeaturesSimple(CapsFeatures?)

[Version("1.16")]
public void SetFeaturesSimple(CapsFeatures? features)

Parameters

features CapsFeatures

SetSimpleValist(string, IntPtr)

public void SetSimpleValist(string field, IntPtr varargs)

Parameters

field string
varargs IntPtr

SetValue(string, Value)

public void SetValue(string field, Value value)

Parameters

field string
value Value

Simplify()

public Caps Simplify()

Returns

Caps

StealStructure(uint)

public Structure? StealStructure(uint index)

Parameters

index uint

Returns

Structure

Subtract(Caps)

public Caps Subtract(Caps subtrahend)

Parameters

subtrahend Caps

Returns

Caps

ToString()

public string ToString()

Returns

string

Truncate()

public Caps Truncate()

Returns

Caps