Query.newPosition

Constructs a new query stream position query object. Use Query.unref when done with it. A position query is used to query the current position of playback in the streams, in some format.

class Query
static
newPosition

Parameters

format GstFormat

the default GstFormat for the new query

Return Value

Type: Query

A GstQuery