Query.newDuration
gst.query.Query newDuration(gst.types.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 #GstFormat for this duration query |
Returns
a new #GstQuery