Query.setDuration

void setDuration(gst.types.Format format, long duration)

Answer a duration query by setting the requested value in the given format.

Parameters

formatthe #GstFormat for the duration
durationthe duration of the stream