Query.parseDuration

void parseDuration(out gst.types.Format format, out long duration)

Parse a duration query answer. Write the format of the duration into format, and the value into duration, if the respective variables are non-null.

Parameters

formatthe storage for the #GstFormat of the duration value, or null.
durationthe storage for the total duration, or null.