Query.duration


Description:

[ CCode ( has_construct_function = false ) ]
public Query.duration (Format format)

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

Parameters:

format

the Format for this duration query

Returns:

a new Query