Pad.queryDuration

Queries a pad for the total stream duration.

  1. long queryDuration()
  2. bool queryDuration(GstFormat format, long duration)
    class Pad
    bool
    queryDuration

Parameters

format GstFormat

the GstFormat requested

duration long

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

Return Value

Type: bool

TRUE if the query could be performed.