Query.newSegment

Constructs a new segment query object. Use Query.unref when done with it. A segment query is used to discover information about the currently configured segment for playback.

class Query
static
newSegment

Parameters

format GstFormat

the GstFormat for the new query

Return Value

Type: Query

a GstQuery