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
(,
ref long duration
)

Parameters

format GstFormat

the storage for the GstFormat of the duration value, or NULL.

duration long

the storage for the total duration, or NULL.

Meta