Element.queryDuration

Queries an element for the total stream duration.

  1. long queryDuration()
  2. int queryDuration(GstFormat format, long duration)
    class Element
    int
    queryDuration
    (,
    ref long duration
    )

Parameters

format GstFormat

a pointer to the GstFormat asked for. On return contains the GstFormat used.

duration long

A location in which to store the total duration, or NULL.

Return Value

Type: int

TRUE if the query could be performed.

Meta