Table of Contents

Class Query

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public class Query
Inheritance
Query
Inherited Members

Methods

AddAllocationMeta(QueryHandle, Type, StructureHandle)

Calls native method gst_query_add_allocation_meta.

public static extern void AddAllocationMeta(QueryHandle query, Type api, StructureHandle @params)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

api Type

Transfer ownership: None Nullable: False

params StructureHandle

AddAllocationParam(QueryHandle, IntPtr, AllocationParamsHandle)

Calls native method gst_query_add_allocation_param.

public static extern void AddAllocationParam(QueryHandle query, IntPtr allocator, AllocationParamsHandle @params)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

allocator IntPtr

Transfer ownership: None Nullable: True

params AllocationParamsHandle

AddAllocationPool(QueryHandle, IntPtr, uint, uint, uint)

Calls native method gst_query_add_allocation_pool.

public static extern void AddAllocationPool(QueryHandle query, IntPtr pool, uint size, uint minBuffers, uint maxBuffers)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

pool IntPtr

Transfer ownership: None Nullable: True

size uint

Transfer ownership: None Nullable: False

minBuffers uint

Transfer ownership: None Nullable: False

maxBuffers uint

Transfer ownership: None Nullable: False

AddBufferingRange(QueryHandle, long, long)

Calls native method gst_query_add_buffering_range.

public static extern bool AddBufferingRange(QueryHandle query, long start, long stop)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

start long

Transfer ownership: None Nullable: False

stop long

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

AddSchedulingMode(QueryHandle, PadMode)

Calls native method gst_query_add_scheduling_mode.

public static extern void AddSchedulingMode(QueryHandle query, PadMode mode)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

mode PadMode

Transfer ownership: None Nullable: False

FindAllocationMeta(QueryHandle, Type, out uint)

Calls native method gst_query_find_allocation_meta.

public static extern bool FindAllocationMeta(QueryHandle query, Type api, out uint index)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

api Type

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_query_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNAllocationMetas(QueryHandle)

Calls native method gst_query_get_n_allocation_metas.

public static extern uint GetNAllocationMetas(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNAllocationParams(QueryHandle)

Calls native method gst_query_get_n_allocation_params.

public static extern uint GetNAllocationParams(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNAllocationPools(QueryHandle)

Calls native method gst_query_get_n_allocation_pools.

public static extern uint GetNAllocationPools(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNBufferingRanges(QueryHandle)

Calls native method gst_query_get_n_buffering_ranges.

public static extern uint GetNBufferingRanges(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNSchedulingModes(QueryHandle)

Calls native method gst_query_get_n_scheduling_modes.

public static extern uint GetNSchedulingModes(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetStructure(QueryHandle)

Calls native method gst_query_get_structure.

public static extern StructureUnownedHandle GetStructure(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

StructureUnownedHandle

Transfer ownership: None Nullable: True

HasSchedulingMode(QueryHandle, PadMode)

Calls native method gst_query_has_scheduling_mode.

public static extern bool HasSchedulingMode(QueryHandle query, PadMode mode)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

mode PadMode

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

HasSchedulingModeWithFlags(QueryHandle, PadMode, SchedulingFlags)

Calls native method gst_query_has_scheduling_mode_with_flags.

public static extern bool HasSchedulingModeWithFlags(QueryHandle query, PadMode mode, SchedulingFlags flags)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

mode PadMode

Transfer ownership: None Nullable: False

flags SchedulingFlags

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewAcceptCaps(CapsHandle)

Calls native constructor gst_query_new_accept_caps.

public static extern QueryOwnedHandle NewAcceptCaps(CapsHandle caps)

Parameters

caps CapsHandle

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewAllocation(CapsHandle, bool)

Calls native constructor gst_query_new_allocation.

public static extern QueryOwnedHandle NewAllocation(CapsHandle caps, bool needPool)

Parameters

caps CapsHandle

Transfer ownership: None Nullable: True

needPool bool

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewBitrate()

Calls native constructor gst_query_new_bitrate. Version: 1.16

[Version("1.16")]
public static extern QueryOwnedHandle NewBitrate()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewBuffering(Format)

Calls native constructor gst_query_new_buffering.

public static extern QueryOwnedHandle NewBuffering(Format format)

Parameters

format Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewCaps(CapsHandle)

Calls native constructor gst_query_new_caps.

public static extern QueryOwnedHandle NewCaps(CapsHandle filter)

Parameters

filter CapsHandle

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewContext(NonNullableUtf8StringHandle)

Calls native constructor gst_query_new_context. Version: 1.2

[Version("1.2")]
public static extern QueryOwnedHandle NewContext(NonNullableUtf8StringHandle contextType)

Parameters

contextType NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewConvert(Format, long, Format)

Calls native constructor gst_query_new_convert.

public static extern QueryOwnedHandle NewConvert(Format srcFormat, long value, Format destFormat)

Parameters

srcFormat Format

Transfer ownership: None Nullable: False

value long

Transfer ownership: None Nullable: False

destFormat Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewCustom(QueryType, StructureUnownedHandle)

Calls native constructor gst_query_new_custom.

public static extern QueryOwnedHandle NewCustom(QueryType type, StructureUnownedHandle structure)

Parameters

type QueryType

Transfer ownership: None Nullable: False

structure StructureUnownedHandle

Transfer ownership: Full Nullable: True

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewDrain()

Calls native constructor gst_query_new_drain.

public static extern QueryOwnedHandle NewDrain()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewDuration(Format)

Calls native constructor gst_query_new_duration.

public static extern QueryOwnedHandle NewDuration(Format format)

Parameters

format Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewFormats()

Calls native constructor gst_query_new_formats.

public static extern QueryOwnedHandle NewFormats()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewLatency()

Calls native constructor gst_query_new_latency.

public static extern QueryOwnedHandle NewLatency()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewPosition(Format)

Calls native constructor gst_query_new_position.

public static extern QueryOwnedHandle NewPosition(Format format)

Parameters

format Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewScheduling()

Calls native constructor gst_query_new_scheduling.

public static extern QueryOwnedHandle NewScheduling()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewSeeking(Format)

Calls native constructor gst_query_new_seeking.

public static extern QueryOwnedHandle NewSeeking(Format format)

Parameters

format Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewSegment(Format)

Calls native constructor gst_query_new_segment.

public static extern QueryOwnedHandle NewSegment(Format format)

Parameters

format Format

Transfer ownership: None Nullable: False

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewSelectable()

Calls native constructor gst_query_new_selectable. Version: 1.22

[Version("1.22")]
public static extern QueryOwnedHandle NewSelectable()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

NewUri()

Calls native constructor gst_query_new_uri.

public static extern QueryOwnedHandle NewUri()

Returns

QueryOwnedHandle

Transfer ownership: Full Nullable: False

ParseAcceptCapsResult(QueryHandle, out bool)

Calls native method gst_query_parse_accept_caps_result.

public static extern void ParseAcceptCapsResult(QueryHandle query, out bool result)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

result bool

Transfer ownership: Full Nullable: True

ParseBitrate(QueryHandle, out uint)

Calls native method gst_query_parse_bitrate. Version: 1.16

[Version("1.16")]
public static extern void ParseBitrate(QueryHandle query, out uint nominalBitrate)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

nominalBitrate uint

Transfer ownership: Full Nullable: False

ParseBufferingPercent(QueryHandle, out bool, out int)

Calls native method gst_query_parse_buffering_percent.

public static extern void ParseBufferingPercent(QueryHandle query, out bool busy, out int percent)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

busy bool

Transfer ownership: Full Nullable: False

percent int

Transfer ownership: Full Nullable: False

ParseBufferingRange(QueryHandle, out IntPtr, out long, out long, out long)

Calls native method gst_query_parse_buffering_range.

public static extern void ParseBufferingRange(QueryHandle query, out IntPtr format, out long start, out long stop, out long estimatedTotal)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

start long

Transfer ownership: Full Nullable: False

stop long

Transfer ownership: Full Nullable: False

estimatedTotal long

Transfer ownership: Full Nullable: False

ParseBufferingStats(QueryHandle, out IntPtr, out int, out int, out long)

Calls native method gst_query_parse_buffering_stats.

public static extern void ParseBufferingStats(QueryHandle query, out IntPtr mode, out int avgIn, out int avgOut, out long bufferingLeft)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

mode IntPtr

Transfer ownership: Full Nullable: False

avgIn int

Transfer ownership: Full Nullable: False

avgOut int

Transfer ownership: Full Nullable: False

bufferingLeft long

Transfer ownership: Full Nullable: False

ParseContextType(QueryHandle, out NonNullableUtf8StringUnownedHandle)

Calls native method gst_query_parse_context_type. Version: 1.2

[Version("1.2")]
public static extern bool ParseContextType(QueryHandle query, out NonNullableUtf8StringUnownedHandle contextType)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

contextType NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParseConvert(QueryHandle, out IntPtr, out long, out IntPtr, out long)

Calls native method gst_query_parse_convert.

public static extern void ParseConvert(QueryHandle query, out IntPtr srcFormat, out long srcValue, out IntPtr destFormat, out long destValue)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

srcFormat IntPtr

Transfer ownership: Full Nullable: False

srcValue long

Transfer ownership: Full Nullable: False

destFormat IntPtr

Transfer ownership: Full Nullable: False

destValue long

Transfer ownership: Full Nullable: False

ParseDuration(QueryHandle, out IntPtr, out long)

Calls native method gst_query_parse_duration.

public static extern void ParseDuration(QueryHandle query, out IntPtr format, out long duration)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

duration long

Transfer ownership: Full Nullable: False

ParseLatency(QueryHandle, out bool, out ClockTime, out ClockTime)

Calls native method gst_query_parse_latency.

public static extern void ParseLatency(QueryHandle query, out bool live, out ClockTime minLatency, out ClockTime maxLatency)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

live bool

Transfer ownership: Full Nullable: False

minLatency ClockTime

Transfer ownership: Full Nullable: False

maxLatency ClockTime

Transfer ownership: Full Nullable: False

ParseNFormats(QueryHandle, out uint)

Calls native method gst_query_parse_n_formats.

public static extern void ParseNFormats(QueryHandle query, out uint nFormats)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

nFormats uint

Transfer ownership: Full Nullable: False

ParseNthAllocationPool(QueryHandle, uint, out IntPtr, out uint, out uint, out uint)

Calls native method gst_query_parse_nth_allocation_pool.

public static extern void ParseNthAllocationPool(QueryHandle query, uint index, out IntPtr pool, out uint size, out uint minBuffers, out uint maxBuffers)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

pool IntPtr

Transfer ownership: Full Nullable: True

size uint

Transfer ownership: Full Nullable: False

minBuffers uint

Transfer ownership: Full Nullable: False

maxBuffers uint

Transfer ownership: Full Nullable: False

ParseNthBufferingRange(QueryHandle, uint, out long, out long)

Calls native method gst_query_parse_nth_buffering_range.

public static extern bool ParseNthBufferingRange(QueryHandle query, uint index, out long start, out long stop)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

start long

Transfer ownership: Full Nullable: False

stop long

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ParseNthFormat(QueryHandle, uint, out IntPtr)

Calls native method gst_query_parse_nth_format.

public static extern void ParseNthFormat(QueryHandle query, uint nth, out IntPtr format)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

nth uint

Transfer ownership: None Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

ParseNthSchedulingMode(QueryHandle, uint)

Calls native method gst_query_parse_nth_scheduling_mode.

public static extern PadMode ParseNthSchedulingMode(QueryHandle query, uint index)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

Returns

PadMode

Transfer ownership: None Nullable: False

ParsePosition(QueryHandle, out IntPtr, out long)

Calls native method gst_query_parse_position.

public static extern void ParsePosition(QueryHandle query, out IntPtr format, out long cur)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

cur long

Transfer ownership: Full Nullable: False

ParseScheduling(QueryHandle, out SchedulingFlags, out int, out int, out int)

Calls native method gst_query_parse_scheduling.

public static extern void ParseScheduling(QueryHandle query, out SchedulingFlags flags, out int minsize, out int maxsize, out int align)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

flags SchedulingFlags

Transfer ownership: Full Nullable: False

minsize int

Transfer ownership: Full Nullable: False

maxsize int

Transfer ownership: Full Nullable: False

align int

Transfer ownership: Full Nullable: False

ParseSeeking(QueryHandle, out IntPtr, out bool, out long, out long)

Calls native method gst_query_parse_seeking.

public static extern void ParseSeeking(QueryHandle query, out IntPtr format, out bool seekable, out long segmentStart, out long segmentEnd)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

seekable bool

Transfer ownership: Full Nullable: False

segmentStart long

Transfer ownership: Full Nullable: False

segmentEnd long

Transfer ownership: Full Nullable: False

ParseSegment(QueryHandle, out double, out IntPtr, out long, out long)

Calls native method gst_query_parse_segment.

public static extern void ParseSegment(QueryHandle query, out double rate, out IntPtr format, out long startValue, out long stopValue)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

rate double

Transfer ownership: Full Nullable: False

format IntPtr

Transfer ownership: Full Nullable: False

startValue long

Transfer ownership: Full Nullable: False

stopValue long

Transfer ownership: Full Nullable: False

ParseSelectable(QueryHandle, out bool)

Calls native method gst_query_parse_selectable. Version: 1.22

[Version("1.22")]
public static extern void ParseSelectable(QueryHandle query, out bool selectable)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

selectable bool

Transfer ownership: Full Nullable: False

ParseUri(QueryHandle, out NullableUtf8StringOwnedHandle)

Calls native method gst_query_parse_uri.

public static extern void ParseUri(QueryHandle query, out NullableUtf8StringOwnedHandle uri)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

uri NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

ParseUriRedirection(QueryHandle, out NullableUtf8StringOwnedHandle)

Calls native method gst_query_parse_uri_redirection. Version: 1.2

[Version("1.2")]
public static extern void ParseUriRedirection(QueryHandle query, out NullableUtf8StringOwnedHandle uri)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

uri NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

ParseUriRedirectionPermanent(QueryHandle, out bool)

Calls native method gst_query_parse_uri_redirection_permanent. Version: 1.4

[Version("1.4")]
public static extern void ParseUriRedirectionPermanent(QueryHandle query, out bool permanent)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

permanent bool

Transfer ownership: Full Nullable: False

RemoveNthAllocationMeta(QueryHandle, uint)

Calls native method gst_query_remove_nth_allocation_meta.

public static extern void RemoveNthAllocationMeta(QueryHandle query, uint index)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

RemoveNthAllocationParam(QueryHandle, uint)

Calls native method gst_query_remove_nth_allocation_param. Version: 1.2

[Version("1.2")]
public static extern void RemoveNthAllocationParam(QueryHandle query, uint index)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

RemoveNthAllocationPool(QueryHandle, uint)

Calls native method gst_query_remove_nth_allocation_pool. Version: 1.2

[Version("1.2")]
public static extern void RemoveNthAllocationPool(QueryHandle query, uint index)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

SetAcceptCapsResult(QueryHandle, bool)

Calls native method gst_query_set_accept_caps_result.

public static extern void SetAcceptCapsResult(QueryHandle query, bool result)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

result bool

Transfer ownership: None Nullable: False

SetBitrate(QueryHandle, uint)

Calls native method gst_query_set_bitrate. Version: 1.16

[Version("1.16")]
public static extern void SetBitrate(QueryHandle query, uint nominalBitrate)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

nominalBitrate uint

Transfer ownership: None Nullable: False

SetBufferingPercent(QueryHandle, bool, int)

Calls native method gst_query_set_buffering_percent.

public static extern void SetBufferingPercent(QueryHandle query, bool busy, int percent)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

busy bool

Transfer ownership: None Nullable: False

percent int

Transfer ownership: None Nullable: False

SetBufferingRange(QueryHandle, Format, long, long, long)

Calls native method gst_query_set_buffering_range.

public static extern void SetBufferingRange(QueryHandle query, Format format, long start, long stop, long estimatedTotal)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

start long

Transfer ownership: None Nullable: False

stop long

Transfer ownership: None Nullable: False

estimatedTotal long

Transfer ownership: None Nullable: False

SetBufferingStats(QueryHandle, BufferingMode, int, int, long)

Calls native method gst_query_set_buffering_stats.

public static extern void SetBufferingStats(QueryHandle query, BufferingMode mode, int avgIn, int avgOut, long bufferingLeft)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

mode BufferingMode

Transfer ownership: None Nullable: False

avgIn int

Transfer ownership: None Nullable: False

avgOut int

Transfer ownership: None Nullable: False

bufferingLeft long

Transfer ownership: None Nullable: False

SetCapsResult(QueryHandle, CapsHandle)

Calls native method gst_query_set_caps_result.

public static extern void SetCapsResult(QueryHandle query, CapsHandle caps)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

caps CapsHandle

Transfer ownership: None Nullable: True

SetContext(QueryHandle, ContextHandle)

Calls native method gst_query_set_context. Version: 1.2

[Version("1.2")]
public static extern void SetContext(QueryHandle query, ContextHandle context)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

context ContextHandle

Transfer ownership: None Nullable: True

SetConvert(QueryHandle, Format, long, Format, long)

Calls native method gst_query_set_convert.

public static extern void SetConvert(QueryHandle query, Format srcFormat, long srcValue, Format destFormat, long destValue)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

srcFormat Format

Transfer ownership: None Nullable: False

srcValue long

Transfer ownership: None Nullable: False

destFormat Format

Transfer ownership: None Nullable: False

destValue long

Transfer ownership: None Nullable: False

SetDuration(QueryHandle, Format, long)

Calls native method gst_query_set_duration.

public static extern void SetDuration(QueryHandle query, Format format, long duration)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

duration long

Transfer ownership: None Nullable: False

SetFormatsv(QueryHandle, int, Format[])

Calls native method gst_query_set_formatsv.

public static extern void SetFormatsv(QueryHandle query, int nFormats, Format[] formats)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

nFormats int

Transfer ownership: None Nullable: False

formats Format[]

Transfer ownership: None Nullable: False

SetLatency(QueryHandle, bool, ClockTime, ClockTime)

Calls native method gst_query_set_latency.

public static extern void SetLatency(QueryHandle query, bool live, ClockTime minLatency, ClockTime maxLatency)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

live bool

Transfer ownership: None Nullable: False

minLatency ClockTime

Transfer ownership: None Nullable: False

maxLatency ClockTime

Transfer ownership: None Nullable: False

SetNthAllocationParam(QueryHandle, uint, IntPtr, AllocationParamsHandle)

Calls native method gst_query_set_nth_allocation_param.

public static extern void SetNthAllocationParam(QueryHandle query, uint index, IntPtr allocator, AllocationParamsHandle @params)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

allocator IntPtr

Transfer ownership: None Nullable: True

params AllocationParamsHandle

SetNthAllocationPool(QueryHandle, uint, IntPtr, uint, uint, uint)

Calls native method gst_query_set_nth_allocation_pool.

public static extern void SetNthAllocationPool(QueryHandle query, uint index, IntPtr pool, uint size, uint minBuffers, uint maxBuffers)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

index uint

Transfer ownership: None Nullable: False

pool IntPtr

Transfer ownership: None Nullable: True

size uint

Transfer ownership: None Nullable: False

minBuffers uint

Transfer ownership: None Nullable: False

maxBuffers uint

Transfer ownership: None Nullable: False

SetPosition(QueryHandle, Format, long)

Calls native method gst_query_set_position.

public static extern void SetPosition(QueryHandle query, Format format, long cur)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

cur long

Transfer ownership: None Nullable: False

SetScheduling(QueryHandle, SchedulingFlags, int, int, int)

Calls native method gst_query_set_scheduling.

public static extern void SetScheduling(QueryHandle query, SchedulingFlags flags, int minsize, int maxsize, int align)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

flags SchedulingFlags

Transfer ownership: None Nullable: False

minsize int

Transfer ownership: None Nullable: False

maxsize int

Transfer ownership: None Nullable: False

align int

Transfer ownership: None Nullable: False

SetSeeking(QueryHandle, Format, bool, long, long)

Calls native method gst_query_set_seeking.

public static extern void SetSeeking(QueryHandle query, Format format, bool seekable, long segmentStart, long segmentEnd)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

seekable bool

Transfer ownership: None Nullable: False

segmentStart long

Transfer ownership: None Nullable: False

segmentEnd long

Transfer ownership: None Nullable: False

SetSegment(QueryHandle, double, Format, long, long)

Calls native method gst_query_set_segment.

public static extern void SetSegment(QueryHandle query, double rate, Format format, long startValue, long stopValue)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

rate double

Transfer ownership: None Nullable: False

format Format

Transfer ownership: None Nullable: False

startValue long

Transfer ownership: None Nullable: False

stopValue long

Transfer ownership: None Nullable: False

SetSelectable(QueryHandle, bool)

Calls native method gst_query_set_selectable. Version: 1.22

[Version("1.22")]
public static extern void SetSelectable(QueryHandle query, bool selectable)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

selectable bool

Transfer ownership: None Nullable: False

SetUri(QueryHandle, NullableUtf8StringHandle)

Calls native method gst_query_set_uri.

public static extern void SetUri(QueryHandle query, NullableUtf8StringHandle uri)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

uri NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetUriRedirection(QueryHandle, NullableUtf8StringHandle)

Calls native method gst_query_set_uri_redirection. Version: 1.2

[Version("1.2")]
public static extern void SetUriRedirection(QueryHandle query, NullableUtf8StringHandle uri)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

uri NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetUriRedirectionPermanent(QueryHandle, bool)

Calls native method gst_query_set_uri_redirection_permanent. Version: 1.4

[Version("1.4")]
public static extern void SetUriRedirectionPermanent(QueryHandle query, bool permanent)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

permanent bool

Transfer ownership: None Nullable: False

WritableStructure(QueryHandle)

Calls native method gst_query_writable_structure.

public static extern StructureUnownedHandle WritableStructure(QueryHandle query)

Parameters

query QueryHandle

Transfer ownership: None Nullable: False

Returns

StructureUnownedHandle

Transfer ownership: None Nullable: False