Query.newDuration

Constructs a new stream duration query object to query in the given format. Use gst_query_unref() when done with it. A duration query will give the total length of the stream.

Free-function: gst_query_unref()

class Query
static
newDuration

Parameters

format gst.types.Format

the #GstFormat for this duration query

Return Value

Type: gst.query.Query

a new #GstQuery