Query.newSegment

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

Free-function: gst_query_unref()

Parameters

formatthe #GstFormat for the new query

Returns

a new #GstQuery