BaseSrc.queryLatency

Query the source for the latency parameters. @live will be %TRUE when @src is configured as a live source. @min_latency and @max_latency will be set to the difference between the running time and the timestamp of the first buffer.

This function is mostly used by subclasses.

class BaseSrc
bool
queryLatency

Parameters

live bool

if the source is live

minLatency GstClockTime

the min latency of the source

maxLatency GstClockTime

the max latency of the source

Return Value

Type: bool

%TRUE if the query succeeded.

Meta