Message.parseDuration

Extracts the duration and format from the duration message. The duration might be GST_CLOCK_TIME_NONE, which indicates that the duration has changed. Applications should always use a query to retrieve the duration of a pipeline. MT safe.

class Message
void
parseDuration
(,
out long duration
)

Parameters

format GstFormat

Result location for the format, or NULL

duration long

Result location for the duration, or NULL

Meta