Class Query
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
QueryHandleTransfer ownership: None Nullable: False
api
TypeTransfer 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
QueryHandleTransfer ownership: None Nullable: False
allocator
IntPtrTransfer 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
QueryHandleTransfer ownership: None Nullable: False
pool
IntPtrTransfer ownership: None Nullable: True
size
uintTransfer ownership: None Nullable: False
minBuffers
uintTransfer ownership: None Nullable: False
maxBuffers
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
start
longTransfer ownership: None Nullable: False
stop
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
mode
PadModeTransfer 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
QueryHandleTransfer ownership: None Nullable: False
api
TypeTransfer ownership: None Nullable: False
index
uintTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
mode
PadModeTransfer 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
QueryHandleTransfer ownership: None Nullable: False
mode
PadModeTransfer ownership: None Nullable: False
flags
SchedulingFlagsTransfer 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
CapsHandleTransfer 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
CapsHandleTransfer ownership: None Nullable: True
needPool
boolTransfer 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
FormatTransfer 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
CapsHandleTransfer 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
NonNullableUtf8StringHandleTransfer 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
FormatTransfer ownership: None Nullable: False
value
longTransfer ownership: None Nullable: False
destFormat
FormatTransfer 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
QueryTypeTransfer ownership: None Nullable: False
structure
StructureUnownedHandleTransfer 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
FormatTransfer 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
FormatTransfer 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
FormatTransfer 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
FormatTransfer 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
QueryHandleTransfer ownership: None Nullable: False
result
boolTransfer 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
QueryHandleTransfer ownership: None Nullable: False
nominalBitrate
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
busy
boolTransfer ownership: Full Nullable: False
percent
intTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
start
longTransfer ownership: Full Nullable: False
stop
longTransfer ownership: Full Nullable: False
estimatedTotal
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
mode
IntPtrTransfer ownership: Full Nullable: False
avgIn
intTransfer ownership: Full Nullable: False
avgOut
intTransfer ownership: Full Nullable: False
bufferingLeft
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
contextType
NonNullableUtf8StringUnownedHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
srcFormat
IntPtrTransfer ownership: Full Nullable: False
srcValue
longTransfer ownership: Full Nullable: False
destFormat
IntPtrTransfer ownership: Full Nullable: False
destValue
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
duration
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
live
boolTransfer ownership: Full Nullable: False
minLatency
ClockTimeTransfer ownership: Full Nullable: False
maxLatency
ClockTimeTransfer 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
QueryHandleTransfer ownership: None Nullable: False
nFormats
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
pool
IntPtrTransfer ownership: Full Nullable: True
size
uintTransfer ownership: Full Nullable: False
minBuffers
uintTransfer ownership: Full Nullable: False
maxBuffers
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
start
longTransfer ownership: Full Nullable: False
stop
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
nth
uintTransfer ownership: None Nullable: False
format
IntPtrTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
cur
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
flags
SchedulingFlagsTransfer ownership: Full Nullable: False
minsize
intTransfer ownership: Full Nullable: False
maxsize
intTransfer ownership: Full Nullable: False
align
intTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
seekable
boolTransfer ownership: Full Nullable: False
segmentStart
longTransfer ownership: Full Nullable: False
segmentEnd
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
rate
doubleTransfer ownership: Full Nullable: False
format
IntPtrTransfer ownership: Full Nullable: False
startValue
longTransfer ownership: Full Nullable: False
stopValue
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
selectable
boolTransfer 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
QueryHandleTransfer ownership: None Nullable: False
uri
NullableUtf8StringOwnedHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
uri
NullableUtf8StringOwnedHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
permanent
boolTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
result
boolTransfer 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
QueryHandleTransfer ownership: None Nullable: False
nominalBitrate
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
busy
boolTransfer ownership: None Nullable: False
percent
intTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
start
longTransfer ownership: None Nullable: False
stop
longTransfer ownership: None Nullable: False
estimatedTotal
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
mode
BufferingModeTransfer ownership: None Nullable: False
avgIn
intTransfer ownership: None Nullable: False
avgOut
intTransfer ownership: None Nullable: False
bufferingLeft
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
caps
CapsHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
context
ContextHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
srcFormat
FormatTransfer ownership: None Nullable: False
srcValue
longTransfer ownership: None Nullable: False
destFormat
FormatTransfer ownership: None Nullable: False
destValue
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
duration
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
nFormats
intTransfer 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
QueryHandleTransfer ownership: None Nullable: False
live
boolTransfer ownership: None Nullable: False
minLatency
ClockTimeTransfer ownership: None Nullable: False
maxLatency
ClockTimeTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
allocator
IntPtrTransfer 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
QueryHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
pool
IntPtrTransfer ownership: None Nullable: True
size
uintTransfer ownership: None Nullable: False
minBuffers
uintTransfer ownership: None Nullable: False
maxBuffers
uintTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
cur
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
flags
SchedulingFlagsTransfer ownership: None Nullable: False
minsize
intTransfer ownership: None Nullable: False
maxsize
intTransfer ownership: None Nullable: False
align
intTransfer 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
QueryHandleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
seekable
boolTransfer ownership: None Nullable: False
segmentStart
longTransfer ownership: None Nullable: False
segmentEnd
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
rate
doubleTransfer ownership: None Nullable: False
format
FormatTransfer ownership: None Nullable: False
startValue
longTransfer ownership: None Nullable: False
stopValue
longTransfer 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
QueryHandleTransfer ownership: None Nullable: False
selectable
boolTransfer 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
QueryHandleTransfer ownership: None Nullable: False
uri
NullableUtf8StringHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
uri
NullableUtf8StringHandleTransfer 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
QueryHandleTransfer ownership: None Nullable: False
permanent
boolTransfer ownership: None Nullable: False
WritableStructure(QueryHandle)
Calls native method gst_query_writable_structure.
public static extern StructureUnownedHandle WritableStructure(QueryHandle query)
Parameters
query
QueryHandleTransfer ownership: None Nullable: False
Returns
- StructureUnownedHandle
Transfer ownership: None Nullable: False