Query.parseDuration

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.

class Query
void
parseDuration

Parameters

format gst.types.Format

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

duration long

the storage for the total duration, or null.